Is there no solution for this? I checked your other thread as well. Is there a way for me to remove the third party libraries from my SDK?
I run the below commands to generate the SDK.
xcodebuild archive \
-project Abc.xcodeproj \
-scheme "AbcSDK" \
-configuration Release \
-destination "generic/platform=iOS Simulator" \
-archivePath "BuildArtifacts/iossim.xcarchive" \
| tee build.log
xcodebuild archive \
-project Abc.xcodeproj \
-scheme "AbcSDK" \
-configuration Release \
-destination "generic/platform=iOS" \
-archivePath "BuildArtifacts/ios.xcarchive" \
| tee build.log
xcodebuild -create-xcframework \
-framework BuildArtifacts/iossim.xcarchive/Products/Library/Frameworks/AbcSDK.framework \
-framework BuildArtifacts/ios.xcarchive/Products/Library/Frameworks/AbcSDK.framework \
-output Frameworks/AbcSDK.xcframework
As soon as I run, it gives me the list of resolved source packages that includes all the third party libraries. If I try removing the libraries, it gives error at all the import statements in my code. I even tried using the below, but it didn't help..
@_implementationOnly import GoogleMaps
Topic:
Developer Tools & Services
SubTopic:
General
Tags: