New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Xcframework debug symbols xcode12 example #10137
Merged
dnkoutso
merged 10 commits into
CocoaPods:1-10-stable
from
johntmcintosh:xcframeworkDebugSymbolsXcode12-example
Oct 17, 2020
Merged
Changes from 1 commit
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
48d0486
Add example scheme that was missing
johntmcintosh a31fa8d
Create a sample project and build script for generating an xcframewor…
johntmcintosh 550e4a4
Build the xcframework and install the pod in the example project
johntmcintosh 28582ab
Add ArchiveAndValidate aggregate target that ensures the expected dSY…
johntmcintosh 557aa01
Create a BananaLib that will be used to build an xcframework using th…
johntmcintosh 5660685
Build the BananaLib XCFramework, include it in the example project, a…
johntmcintosh 46827b6
Pull archive and validate script out as its own file
johntmcintosh 7829521
Update CoconutLib build script to output archives in the gitignored b…
johntmcintosh 1dbae66
Update BananaLib build script to output archives in the gitignored bu…
johntmcintosh b798d94
Update project config to be more compatible for building with Xcode 1…
johntmcintosh File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
57 changes: 57 additions & 0 deletions
57
examples/Vendored-XCFramework12-Example/BananaLib/build.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
#!/usr/bin/env sh | ||
# | ||
# This will build and export `BananaLib.xcframework` to `build/BananaLib.xcframework` including all supported slices. | ||
# | ||
# Note: You may need to open the project and add a development team for code signing. | ||
# | ||
|
||
set -eou pipefail | ||
|
||
rm -rf build/* | ||
|
||
settings="SKIP_INSTALL=NO BUILD_LIBRARY_FOR_DISTRIBUTION=YES" | ||
|
||
echo "Building xcframework slices" | ||
|
||
DSYM_FOLDER=build/BananaLib.dSYMs | ||
|
||
xcodebuild clean archive -project BananaLib.xcodeproj -scheme "BananaLib" -sdk iphoneos -archivePath "build/iOS" $settings | ||
xcodebuild clean archive -project BananaLib.xcodeproj -scheme "BananaLib" -sdk iphonesimulator -archivePath "build/iOS-Simulator" $settings | ||
xcodebuild clean archive -project BananaLib.xcodeproj -scheme "BananaLib" -destination 'platform=macOS,arch=x86_64,variant=Mac Catalyst' -archivePath "build/iOS-Catalyst" $settings | ||
xcodebuild clean archive -project BananaLib.xcodeproj -scheme "BananaLib" -sdk watchos -archivePath "build/watchOS" $settings | ||
xcodebuild clean archive -project BananaLib.xcodeproj -scheme "BananaLib" -sdk watchsimulator -archivePath "build/watchOS-Simulator" $settings | ||
xcodebuild clean archive -project BananaLib.xcodeproj -scheme "BananaLib" -sdk appletvos -archivePath "build/tvOS" $settings | ||
xcodebuild clean archive -project BananaLib.xcodeproj -scheme "BananaLib" -sdk appletvsimulator -archivePath "build/tvOS-Simulator" $settings | ||
xcodebuild clean archive -project BananaLib.xcodeproj -scheme "BananaLib" -sdk macosx -archivePath "build/macOS" $settings | ||
|
||
archives=(iOS iOS-Simulator iOS-Catalyst watchOS watchOS-Simulator tvOS tvOS-Simulator macOS) | ||
|
||
args="" | ||
for archive in "${archives[@]}"; do | ||
args="$args -framework build/${archive}.xcarchive/Products/Library/Frameworks/BananaLib.framework" | ||
done | ||
|
||
echo "Copying bitcode symbol maps..." | ||
for archive in "${archives[@]}"; do | ||
symbolmap_src="build/${archive}.xcarchive/BCSymbolMaps" | ||
if [[ -d "$symbolmap_src" ]]; then | ||
rsync -av "${symbolmap_src}/" "build/${archive}.xcarchive/Products/Library/Frameworks/BananaLib.framework/BCSymbolMaps" | ||
else | ||
echo "No bitcode symbol maps in archive ${archive}" | ||
fi | ||
done | ||
|
||
|
||
echo "xcodebuild -create-xcframework $args -output build/BananaLib.xcframework" | ||
xcodebuild -create-xcframework $args -output build/BananaLib.xcframework | ||
|
||
echo "Gathering dSYMs to $DSYM_FOLDER..." | ||
mkdir $DSYM_FOLDER | ||
for archive in "${archives[@]}"; do | ||
dsym_src="build/${archive}.xcarchive/dSYMs/BananaLib.framework.dSYM" | ||
if [[ -d "$dsym_src" ]]; then | ||
rsync -av "${dsym_src}/" "${DSYM_FOLDER}/${archive}.dSYM" | ||
else | ||
echo "No dSYMs in archive ${archive}" | ||
fi | ||
done |
20 changes: 20 additions & 0 deletions
20
...Framework12-Example/BananaLib/build/BananaLib.dSYMs/iOS-Catalyst.dSYM/Contents/Info.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>CFBundleDevelopmentRegion</key> | ||
<string>English</string> | ||
<key>CFBundleIdentifier</key> | ||
<string>com.apple.xcode.dsym.org.cocoapods.BananaLib</string> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>6.0</string> | ||
<key>CFBundlePackageType</key> | ||
<string>dSYM</string> | ||
<key>CFBundleSignature</key> | ||
<string>????</string> | ||
<key>CFBundleShortVersionString</key> | ||
<string>1.0</string> | ||
<key>CFBundleVersion</key> | ||
<string>1</string> | ||
</dict> | ||
</plist> |
Binary file added
BIN
+1.05 MB
...mple/BananaLib/build/BananaLib.dSYMs/iOS-Catalyst.dSYM/Contents/Resources/DWARF/BananaLib
Binary file not shown.
20 changes: 20 additions & 0 deletions
20
...ramework12-Example/BananaLib/build/BananaLib.dSYMs/iOS-Simulator.dSYM/Contents/Info.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>CFBundleDevelopmentRegion</key> | ||
<string>English</string> | ||
<key>CFBundleIdentifier</key> | ||
<string>com.apple.xcode.dsym.org.cocoapods.BananaLib</string> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>6.0</string> | ||
<key>CFBundlePackageType</key> | ||
<string>dSYM</string> | ||
<key>CFBundleSignature</key> | ||
<string>????</string> | ||
<key>CFBundleShortVersionString</key> | ||
<string>1.0</string> | ||
<key>CFBundleVersion</key> | ||
<string>1</string> | ||
</dict> | ||
</plist> |
Binary file added
BIN
+1.05 MB
...ple/BananaLib/build/BananaLib.dSYMs/iOS-Simulator.dSYM/Contents/Resources/DWARF/BananaLib
Binary file not shown.
20 changes: 20 additions & 0 deletions
20
...ndored-XCFramework12-Example/BananaLib/build/BananaLib.dSYMs/iOS.dSYM/Contents/Info.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>CFBundleDevelopmentRegion</key> | ||
<string>English</string> | ||
<key>CFBundleIdentifier</key> | ||
<string>com.apple.xcode.dsym.org.cocoapods.BananaLib</string> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>6.0</string> | ||
<key>CFBundlePackageType</key> | ||
<string>dSYM</string> | ||
<key>CFBundleSignature</key> | ||
<string>????</string> | ||
<key>CFBundleShortVersionString</key> | ||
<string>1.0</string> | ||
<key>CFBundleVersion</key> | ||
<string>1</string> | ||
</dict> | ||
</plist> |
Binary file added
BIN
+531 KB
...ork12-Example/BananaLib/build/BananaLib.dSYMs/iOS.dSYM/Contents/Resources/DWARF/BananaLib
Binary file not shown.
20 changes: 20 additions & 0 deletions
20
...ored-XCFramework12-Example/BananaLib/build/BananaLib.dSYMs/macOS.dSYM/Contents/Info.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>CFBundleDevelopmentRegion</key> | ||
<string>English</string> | ||
<key>CFBundleIdentifier</key> | ||
<string>com.apple.xcode.dsym.org.cocoapods.BananaLib</string> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>6.0</string> | ||
<key>CFBundlePackageType</key> | ||
<string>dSYM</string> | ||
<key>CFBundleSignature</key> | ||
<string>????</string> | ||
<key>CFBundleShortVersionString</key> | ||
<string>1.0</string> | ||
<key>CFBundleVersion</key> | ||
<string>1</string> | ||
</dict> | ||
</plist> |
Binary file added
BIN
+1.76 MB
...k12-Example/BananaLib/build/BananaLib.dSYMs/macOS.dSYM/Contents/Resources/DWARF/BananaLib
Binary file not shown.
20 changes: 20 additions & 0 deletions
20
...amework12-Example/BananaLib/build/BananaLib.dSYMs/tvOS-Simulator.dSYM/Contents/Info.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>CFBundleDevelopmentRegion</key> | ||
<string>English</string> | ||
<key>CFBundleIdentifier</key> | ||
<string>com.apple.xcode.dsym.org.cocoapods.BananaLib</string> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>6.0</string> | ||
<key>CFBundlePackageType</key> | ||
<string>dSYM</string> | ||
<key>CFBundleSignature</key> | ||
<string>????</string> | ||
<key>CFBundleShortVersionString</key> | ||
<string>1.0</string> | ||
<key>CFBundleVersion</key> | ||
<string>1</string> | ||
</dict> | ||
</plist> |
Binary file added
BIN
+1.05 MB
...le/BananaLib/build/BananaLib.dSYMs/tvOS-Simulator.dSYM/Contents/Resources/DWARF/BananaLib
Binary file not shown.
20 changes: 20 additions & 0 deletions
20
...dored-XCFramework12-Example/BananaLib/build/BananaLib.dSYMs/tvOS.dSYM/Contents/Info.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>CFBundleDevelopmentRegion</key> | ||
<string>English</string> | ||
<key>CFBundleIdentifier</key> | ||
<string>com.apple.xcode.dsym.org.cocoapods.BananaLib</string> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>6.0</string> | ||
<key>CFBundlePackageType</key> | ||
<string>dSYM</string> | ||
<key>CFBundleSignature</key> | ||
<string>????</string> | ||
<key>CFBundleShortVersionString</key> | ||
<string>1.0</string> | ||
<key>CFBundleVersion</key> | ||
<string>1</string> | ||
</dict> | ||
</plist> |
Binary file added
BIN
+532 KB
...rk12-Example/BananaLib/build/BananaLib.dSYMs/tvOS.dSYM/Contents/Resources/DWARF/BananaLib
Binary file not shown.
20 changes: 20 additions & 0 deletions
20
...work12-Example/BananaLib/build/BananaLib.dSYMs/watchOS-Simulator.dSYM/Contents/Info.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>CFBundleDevelopmentRegion</key> | ||
<string>English</string> | ||
<key>CFBundleIdentifier</key> | ||
<string>com.apple.xcode.dsym.org.cocoapods.BananaLib</string> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>6.0</string> | ||
<key>CFBundlePackageType</key> | ||
<string>dSYM</string> | ||
<key>CFBundleSignature</key> | ||
<string>????</string> | ||
<key>CFBundleShortVersionString</key> | ||
<string>1.0</string> | ||
<key>CFBundleVersion</key> | ||
<string>1</string> | ||
</dict> | ||
</plist> |
Binary file added
BIN
+1.03 MB
...BananaLib/build/BananaLib.dSYMs/watchOS-Simulator.dSYM/Contents/Resources/DWARF/BananaLib
Binary file not shown.
20 changes: 20 additions & 0 deletions
20
...ed-XCFramework12-Example/BananaLib/build/BananaLib.dSYMs/watchOS.dSYM/Contents/Info.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>CFBundleDevelopmentRegion</key> | ||
<string>English</string> | ||
<key>CFBundleIdentifier</key> | ||
<string>com.apple.xcode.dsym.org.cocoapods.BananaLib</string> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>6.0</string> | ||
<key>CFBundlePackageType</key> | ||
<string>dSYM</string> | ||
<key>CFBundleSignature</key> | ||
<string>????</string> | ||
<key>CFBundleShortVersionString</key> | ||
<string>1.0</string> | ||
<key>CFBundleVersion</key> | ||
<string>1</string> | ||
</dict> | ||
</plist> |
Binary file added
BIN
+1.02 MB
...2-Example/BananaLib/build/BananaLib.dSYMs/watchOS.dSYM/Contents/Resources/DWARF/BananaLib
Binary file not shown.
121 changes: 121 additions & 0 deletions
121
examples/Vendored-XCFramework12-Example/BananaLib/build/BananaLib.xcframework/Info.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,121 @@ | ||
<?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>AvailableLibraries</key> | ||
<array> | ||
<dict> | ||
<key>LibraryIdentifier</key> | ||
<string>tvos-arm64_x86_64-simulator</string> | ||
<key>LibraryPath</key> | ||
<string>BananaLib.framework</string> | ||
<key>SupportedArchitectures</key> | ||
<array> | ||
<string>arm64</string> | ||
<string>x86_64</string> | ||
</array> | ||
<key>SupportedPlatform</key> | ||
<string>tvos</string> | ||
<key>SupportedPlatformVariant</key> | ||
<string>simulator</string> | ||
</dict> | ||
<dict> | ||
<key>LibraryIdentifier</key> | ||
<string>macos-x86_64</string> | ||
<key>LibraryPath</key> | ||
<string>BananaLib.framework</string> | ||
<key>SupportedArchitectures</key> | ||
<array> | ||
<string>x86_64</string> | ||
</array> | ||
<key>SupportedPlatform</key> | ||
<string>macos</string> | ||
</dict> | ||
<dict> | ||
<key>LibraryIdentifier</key> | ||
<string>tvos-arm64</string> | ||
<key>LibraryPath</key> | ||
<string>BananaLib.framework</string> | ||
<key>SupportedArchitectures</key> | ||
<array> | ||
<string>arm64</string> | ||
</array> | ||
<key>SupportedPlatform</key> | ||
<string>tvos</string> | ||
</dict> | ||
<dict> | ||
<key>LibraryIdentifier</key> | ||
<string>watchos-arm64_x86_64-simulator</string> | ||
<key>LibraryPath</key> | ||
<string>BananaLib.framework</string> | ||
<key>SupportedArchitectures</key> | ||
<array> | ||
<string>arm64</string> | ||
<string>x86_64</string> | ||
</array> | ||
<key>SupportedPlatform</key> | ||
<string>watchos</string> | ||
<key>SupportedPlatformVariant</key> | ||
<string>simulator</string> | ||
</dict> | ||
<dict> | ||
<key>LibraryIdentifier</key> | ||
<string>ios-arm64_x86_64-simulator</string> | ||
<key>LibraryPath</key> | ||
<string>BananaLib.framework</string> | ||
<key>SupportedArchitectures</key> | ||
<array> | ||
<string>arm64</string> | ||
<string>x86_64</string> | ||
</array> | ||
<key>SupportedPlatform</key> | ||
<string>ios</string> | ||
<key>SupportedPlatformVariant</key> | ||
<string>simulator</string> | ||
</dict> | ||
<dict> | ||
<key>LibraryIdentifier</key> | ||
<string>watchos-arm64_32_armv7k</string> | ||
<key>LibraryPath</key> | ||
<string>BananaLib.framework</string> | ||
<key>SupportedArchitectures</key> | ||
<array> | ||
<string>arm64_32</string> | ||
<string>armv7k</string> | ||
</array> | ||
<key>SupportedPlatform</key> | ||
<string>watchos</string> | ||
</dict> | ||
<dict> | ||
<key>LibraryIdentifier</key> | ||
<string>ios-x86_64-maccatalyst</string> | ||
<key>LibraryPath</key> | ||
<string>BananaLib.framework</string> | ||
<key>SupportedArchitectures</key> | ||
<array> | ||
<string>x86_64</string> | ||
</array> | ||
<key>SupportedPlatform</key> | ||
<string>ios</string> | ||
<key>SupportedPlatformVariant</key> | ||
<string>maccatalyst</string> | ||
</dict> | ||
<dict> | ||
<key>LibraryIdentifier</key> | ||
<string>ios-arm64</string> | ||
<key>LibraryPath</key> | ||
<string>BananaLib.framework</string> | ||
<key>SupportedArchitectures</key> | ||
<array> | ||
<string>arm64</string> | ||
</array> | ||
<key>SupportedPlatform</key> | ||
<string>ios</string> | ||
</dict> | ||
</array> | ||
<key>CFBundlePackageType</key> | ||
<string>XFWK</string> | ||
<key>XCFrameworkFormatVersion</key> | ||
<string>1.0</string> | ||
</dict> | ||
</plist> |
12 changes: 12 additions & 0 deletions
12
...s-arm64/BananaLib.framework/BCSymbolMaps/25938B7A-9266-353E-ABCF-96BA1B0573E3.bcsymbolmap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
BCSymbolMap Version: 2.0 | ||
Apple clang version 12.0.0 (clang-1200.0.32.2) | ||
/Applications/Xcode-12.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk | ||
iPhoneOS14.0.sdk | ||
/Users/jtm/Library/Developer/Xcode/DerivedData/BananaLib-goieoziljschjhfxqahxldwqessj/Build/Intermediates.noindex/ArchiveIntermediates/BananaLib/IntermediateBuildFilesPath/BananaLib.build/Release-iphoneos/BananaLib.build/DerivedSources/BananaLib_vers.c | ||
/Users/jtm/development/CocoaPodsOrg/CocoaPods/examples/Vendored-XCFramework12-Example/BananaLib | ||
-[Banana peel] | ||
__OBJC_METACLASS_RO_$_Banana | ||
__OBJC_$_INSTANCE_METHODS_Banana | ||
__OBJC_CLASS_RO_$_Banana | ||
/Users/jtm/development/CocoaPodsOrg/CocoaPods/examples/Vendored-XCFramework12-Example/BananaLib/BananaLib/Banana.m | ||
BananaLib/Banana.m |
Binary file added
BIN
+80.9 KB
...k12-Example/BananaLib/build/BananaLib.xcframework/ios-arm64/BananaLib.framework/BananaLib
Binary file not shown.
11 changes: 11 additions & 0 deletions
11
...mple/BananaLib/build/BananaLib.xcframework/ios-arm64/BananaLib.framework/Headers/Banana.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#import <Foundation/Foundation.h> | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
@interface Banana : NSObject | ||
|
||
- (void)peel; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
11 changes: 11 additions & 0 deletions
11
...e/BananaLib/build/BananaLib.xcframework/ios-arm64/BananaLib.framework/Headers/BananaLib.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#import <Foundation/Foundation.h> | ||
|
||
//! Project version number for BananaLib. | ||
FOUNDATION_EXPORT double BananaLibVersionNumber; | ||
|
||
//! Project version string for BananaLib. | ||
FOUNDATION_EXPORT const unsigned char BananaLibVersionString[]; | ||
|
||
// In this header, you should import all the public headers of your framework using statements like #import <BananaLib/PublicHeader.h> | ||
|
||
#import "Banana.h" |
Binary file added
BIN
+757 Bytes
...12-Example/BananaLib/build/BananaLib.xcframework/ios-arm64/BananaLib.framework/Info.plist
Binary file not shown.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
any way this could be shared between this example and the existing one here? https://github.com/CocoaPods/CocoaPods/blob/master/examples/Vendored%20XCFramework%20Example/CoconutLib/build.sh? Not a blocker for this PR, but would be nice to not have to maintain both
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@amorde The scripts are similar, but there are a few differences between each and I worried a little about overcomplicating the setup by trying too hard to avoid the duplication.
The new Banana script that's compiling the Xcode 11 format xcframework is the closest to the existing script: both collect the dSYMs at the root and manually stuff the BCSymbolMaps down inside the .frameworks. The current differences are:
build/DerivedData/
, old inbuild/
)The new Coconut script is the Xcode 12 style compilation that removes the manual manipulation of debug symbols and instead uses the new
xcodebuild -create-xcframework -debug-symbols
option.So, I think if we were to consolidate we'd need to consider:
You're definitely right that there's a good bit of similarity between parts of the script, I just fear that to properly setup a consolidated script that replicates what these do, we'd end up losing some of the more straightforward traceability that the current ones have. Let me know what you think!