Skip to content

Commit 6a0d5eb

Browse files
committed
Add optional symlinks for .framework/Headers and .framework/Modules
The placement spec has these as optional, but allowed: https://developer.apple.com/documentation/bundleresources/placing_content_in_a_bundle#3875936 The open source Apple code created Headers: https://opensource.apple.com/source/CF/CF-368.28/framework.make.auto.html gomobile has historically created Modules, and it's optional, so let's keep that to minimize issues for existing users/scripts
1 parent 8611463 commit 6a0d5eb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmd/gomobile/bind_iosapp.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,8 @@ func frameworkLayoutForTarget(t targetInfo, title string) (*frameworkLayout, err
313313
symlinks: map[string]string{
314314
"A": "Versions/Current",
315315
"Versions/Current/Resources": "Resources",
316+
"Versions/Current/Headers": "Headers",
317+
"Versions/Current/Modules": "Modules",
316318
filepath.Join("Versions/Current", title): title,
317319
},
318320
}, nil

0 commit comments

Comments
 (0)