Skip to content

Commit

Permalink
In XCode 15.3, there needs to be an Info.plist in the Framework
Browse files Browse the repository at this point in the history
Without an Info.plist the 17.4 simulator refuses to install the
package.

New Info.plist
  • Loading branch information
bratell-at-opera committed Apr 8, 2024
1 parent 6921130 commit da85331
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ wg-go-framework: wg-go-iphoneos wg-go-iphonesimulator
cp Sources/WireGuardKitGo/out/$$id/libwg-go.a Sources/WireGuardKitGo/out/$$id/WireGuardKitGo.framework/WireGuardKitGo ; \
cp -R Sources/WireGuardKitGo/.tmp/Headers Sources/WireGuardKitGo/out/$$id/WireGuardKitGo.framework ; \
cp -R Sources/WireGuardKitGo/.tmp/Modules Sources/WireGuardKitGo/out/$$id/WireGuardKitGo.framework ; \
cp Sources/WireGuardKitGo/Info.plist Sources/WireGuardKitGo/out/$$id/WireGuardKitGo.framework ; \
done

xcodebuild -create-xcframework \
Expand Down
28 changes: 28 additions & 0 deletions Sources/WireGuardKitGo/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>23D60</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>WireGuardKitGo</string>
<key>CFBundleIdentifier</key>
<string>com.opera.WireGuardKitGo</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>WireGuardKitGo</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>iOS</string>
</array>
<key>CFBundleVersion</key>
<string>1</string>
</dict>
</plist>

0 comments on commit da85331

Please sign in to comment.