본문 바로가기
IT/Unity3D 빌드오류

IPHONEOS_DEPLOYMENT_TARGET

by rapker 2023. 4. 8.
반응형
warning: Run script build phase 'Unity Process symbols for UnityFramework' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'UnityFramework' from project 'Unity-iPhone')
03:57:24   warning: Run script build phase 'Crashlytics Run Script' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'UnityFramework' from project 'Unity-iPhone')
03:57:24   /Users/rapker/buildAgent/work/Dev-iOS/CI-Builds/Dev-iOS/Dev-iOS/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.2.99. (in target 'FirebaseCrashlytics' from project 'Pods')
03:57:24   /Users/rapker/buildAgent/work/Dev-iOS/CI-Builds/Dev-iOS/Dev-iOS/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 11.0 to 16.2.99. (in target 'GoogleAppMeasurement' from project 'Pods')
03:57:24   /Users/rapker/buildAgent/work/Dev-iOS/CI-Builds/Dev-iOS/Dev-iOS/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.2.99. (in target 'FirebaseInstallations' from project 'Pods')
03:57:24   /Users/rapker/buildAgent/work/Dev-iOS/CI-Builds/Dev-iOS/Dev-iOS/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.2.99. (in target 'GoogleDataTransport' from project 'Pods')
03:57:24   /Users/rapker/buildAgent/work/Dev-iOS/CI-Builds/Dev-iOS/Dev-iOS/Unity-iPhone.xcodeproj: error: Provisioning profile "iOS Team Provisioning Profile: se.colorver.app" doesn't include the currently selected device "rapker의 Mac Studio" (identifier DA4F86F1-8BC1-5BBB-8DC0-F79733013780). (in target 'Unity-iPhone' from project 'Unity-iPhone')
03:57:24   warning: Run script build phase 'Crashlytics Run Script' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'Unity-iPhone' from project 'Unity-iPhone')
03:57:24   warning: Run script build phase 'Unity Process symbols for Unity-iPhone' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'Unity-iPhone' from project 'Unity-iPhone')
03:57:24   /Users/rapker/buildAgent/work/Dev-iOS/CI-Builds/Dev-iOS/Dev-iOS/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 11.0 to 16.2.99. (in target 'FirebaseMessaging' from project 'Pods')
03:57:24   /Users/rapker/buildAgent/work/Dev-iOS/CI-Builds/Dev-iOS/Dev-iOS/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.2.99. (in target 'FirebaseCore' from project 'Pods')
03:57:24   /Users/rapker/buildAgent/work/Dev-iOS/CI-Builds/Dev-iOS/Dev-iOS/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.2.99. (in target 'nanopb' from project 'Pods')
03:57:24   /Users/rapker/buildAgent/work/Dev-iOS/CI-Builds/Dev-iOS/Dev-iOS/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 11.0 to 16.2.99. (in target 'Firebase' from project 'Pods')
03:57:24   /Users/rapker/buildAgent/work/Dev-iOS/CI-Builds/Dev-iOS/Dev-iOS/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.2.99. (in target 'GoogleUtilities' from project 'Pods')
03:57:24   /Users/rapker/buildAgent/work/Dev-iOS/CI-Builds/Dev-iOS/Dev-iOS/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.2.99. (in target 'FirebaseCoreInternal' from project 'Pods')
03:57:24   /Users/rapker/buildAgent/work/Dev-iOS/CI-Builds/Dev-iOS/Dev-iOS/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 11.0 to 16.2.99. (in target 'FirebaseAnalytics' from project 'Pods')
03:57:24   /Users/rapker/buildAgent/work/Dev-iOS/CI-Builds/Dev-iOS/Dev-iOS/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.2.99. (in target 'PromisesObjC' from project 'Pods')
03:57:24   /Users/rapker/buildAgent/work/Dev-iOS/CI-Builds/Dev-iOS/Dev-iOS/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.2.99. (in target 'FirebaseCoreDiagnostics' from project 'Pods')

 

 

xcconfig 파일로 IPHONEOS_DEPLOYMENT_TARGET 고정

 

이 파일을 잘 갖고 있다가

유니티에서 iOS빌드로 xcode 로 추출 한 후 xcode에서 archive 추출할 때 아래와 같이 -xcconfig 옵션을 사용합니다.

xcodebuild clean archive \
	-workspace %env.C_BUILD_PATH%/%env.TEAMCITY_BUILDCONF_NAME%/Unity-iPhone.xcworkspace \
    -xcconfig %env.C_BUILD_PATH%/../../extra-support/xcode/build.xcconfig \
    -scheme Unity-iPhone \
    -archivePath %env.C_BUILD_PATH%/archive/ios.xcarchive archive \
    -configuration Release \
    -destination generic/platform=iOS \
    -allowProvisioningUpdates

 

반응형
LIST