-
Notifications
You must be signed in to change notification settings - Fork 0
xcframework 생성
DKY edited this page Jan 10, 2024
·
3 revisions
-
터미널을 열고 작업중인 프레임워크 경로로 들어간다.
-
xcodebuild archive -scheme NFilterFramework -archivePath "./build/ios.xcarchive" -sdk iphoneos SKIP_INSTALL=NO BUILD_LIBRARY_FOR_DISTRIBUTION=YES
-
xcodebuild archive -scheme NFilterFramework -archivePath "./build/ios_sim.xcarchive" -sdk iphonesimulator SKIP_INSTALL=NO BUILD_LIBRARY_FOR_DISTRIBUTION=YES
-
xcodebuild -create-xcframework
-framework "./build/ios.xcarchive/Products/Library/Frameworks/NFilterFramework.framework"
-framework "./build/ios_sim.xcarchive/Products/Library/Frameworks/NFilterFramework.framework"
-output "./build/NFilterFramework.xcframework"
2~4번 순서대로 입력