Skip to content

Commit da85331

Browse files
In XCode 15.3, there needs to be an Info.plist in the Framework
Without an Info.plist the 17.4 simulator refuses to install the package. New Info.plist
1 parent 6921130 commit da85331

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ wg-go-framework: wg-go-iphoneos wg-go-iphonesimulator
1313
cp Sources/WireGuardKitGo/out/$$id/libwg-go.a Sources/WireGuardKitGo/out/$$id/WireGuardKitGo.framework/WireGuardKitGo ; \
1414
cp -R Sources/WireGuardKitGo/.tmp/Headers Sources/WireGuardKitGo/out/$$id/WireGuardKitGo.framework ; \
1515
cp -R Sources/WireGuardKitGo/.tmp/Modules Sources/WireGuardKitGo/out/$$id/WireGuardKitGo.framework ; \
16+
cp Sources/WireGuardKitGo/Info.plist Sources/WireGuardKitGo/out/$$id/WireGuardKitGo.framework ; \
1617
done
1718

1819
xcodebuild -create-xcframework \

Sources/WireGuardKitGo/Info.plist

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>BuildMachineOSBuild</key>
6+
<string>23D60</string>
7+
<key>CFBundleDevelopmentRegion</key>
8+
<string>en</string>
9+
<key>CFBundleExecutable</key>
10+
<string>WireGuardKitGo</string>
11+
<key>CFBundleIdentifier</key>
12+
<string>com.opera.WireGuardKitGo</string>
13+
<key>CFBundleInfoDictionaryVersion</key>
14+
<string>6.0</string>
15+
<key>CFBundleName</key>
16+
<string>WireGuardKitGo</string>
17+
<key>CFBundlePackageType</key>
18+
<string>FMWK</string>
19+
<key>CFBundleShortVersionString</key>
20+
<string>1.0</string>
21+
<key>CFBundleSupportedPlatforms</key>
22+
<array>
23+
<string>iOS</string>
24+
</array>
25+
<key>CFBundleVersion</key>
26+
<string>1</string>
27+
</dict>
28+
</plist>

0 commit comments

Comments
 (0)