Created
September 15, 2020 10:05
-
-
Save Sunilkumarr/9bae90b33c702b59be281edd7ec7f090 to your computer and use it in GitHub Desktop.
Steps for generating xcframework for applozic
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
1. Select Applozic.xcodeproj and Click TARGET Applozic and go to Build settings search Build libraries for Distribution and make it to YES | |
2. In same TARGET Applozic go to Build settings search Skip install and make it to NO | |
3. Go to cd /Applozic-iOS-SDK/sample-with-framework in terminal and execute the below command from A to C one by one by copy pasting it in terminal one by one wait for one command to complete | |
A) xcodebuild archive -scheme Applozic -archivePath archives/ios -sdk iphoneos SKIP_INSTALL=NO | |
B) xcodebuild archive -scheme Applozic -archivePath archives/ios-sim -configuration Debug -sdk iphonesimulator SKIP_INSTALL=NO | |
C) | |
xcodebuild -create-xcframework \ | |
-framework archives/ios.xcarchive/Products/Library/Frameworks/Applozic.framework \ | |
-framework archives/ios-sim.xcarchive/Products/Library/Frameworks/Applozic.framework \ | |
-output Applozic.xcframework | |
4. Finally it will generate the xcframework Applozic.xcframework add this in your project this can run in device and simulator |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment