When I write this command 'npm run ios' I get this error:
error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65. To debug build logs further, consider building your app with Xcode.app, by opening PhotoSearch.xcworkspace. Run CLI with --verbose flag for more details.
User defaults from command line:
IDEDerivedDataPathOverride = /Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch
note: Using new build system
note: Planning build
note: Constructing build description
Build system information
error: Multiple commands produce '/Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Products/Debug-iphonesimulator/PhotoSearch.app/Zocial.ttf':
1) Target 'PhotoSearch' (project 'PhotoSearch') has copy command from '/Users/front.end.af/Documents/Nikita/kinoagenstvo/node_modules/react-native-vector-icons/Fonts/Zocial.ttf' to '/Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Products/Debug-iphonesimulator/PhotoSearch.app/Zocial.ttf'
2) That command depends on command in Target 'PhotoSearch' (project 'PhotoSearch'): script phase “[CP] Copy Pods Resources”
Build system information
error: Multiple commands produce '/Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Products/Debug-iphonesimulator/PhotoSearch.app/SimpleLineIcons.ttf':
1) Target 'PhotoSearch' (project 'PhotoSearch') has copy command from '/Users/front.end.af/Documents/Nikita/kinoagenstvo/node_modules/react-native-vector-icons/Fonts/SimpleLineIcons.ttf' to '/Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Products/Debug-iphonesimulator/PhotoSearch.app/SimpleLineIcons.ttf'
2) That command depends on command in Target 'PhotoSearch' (project 'PhotoSearch'): script phase “[CP] Copy Pods Resources”
Build system information
error: Multiple commands produce '/Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Products/Debug-iphonesimulator/PhotoSearch.app/Octicons.ttf':
1) Target 'PhotoSearch' (project 'PhotoSearch') has copy command from '/Users/front.end.af/Documents/Nikita/kinoagenstvo/node_modules/react-native-vector-icons/Fonts/Octicons.ttf' to '/Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Products/Debug-iphonesimulator/PhotoSearch.app/Octicons.ttf'
2) That command depends on command in Target 'PhotoSearch' (project 'PhotoSearch'): script phase “[CP] Copy Pods Resources”
Build system information
error: Multiple commands produce '/Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Products/Debug-iphonesimulator/PhotoSearch.app/MaterialIcons.ttf':
1) Target 'PhotoSearch' (project 'PhotoSearch') has copy command from '/Users/front.end.af/Documents/Nikita/kinoagenstvo/node_modules/react-native-vector-icons/Fonts/MaterialIcons.ttf' to '/Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Products/Debug-iphonesimulator/PhotoSearch.app/MaterialIcons.ttf'
2) That command depends on command in Target 'PhotoSearch' (project 'PhotoSearch'): script phase “[CP] Copy Pods Resources”
Build system information
error: Multiple commands produce '/Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Products/Debug-iphonesimulator/PhotoSearch.app/MaterialCommunityIcons.ttf':
1) Target 'PhotoSearch' (project 'PhotoSearch') has copy command from '/Users/front.end.af/Documents/Nikita/kinoagenstvo/node_modules/react-native-vector-icons/Fonts/MaterialCommunityIcons.ttf' to '/Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Products/Debug-iphonesimulator/PhotoSearch.app/MaterialCommunityIcons.ttf'
2) That command depends on command in Target 'PhotoSearch' (project 'PhotoSearch'): script phase “[CP] Copy Pods Resources”
Build system information
error: Multiple commands produce '/Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Products/Debug-iphonesimulator/PhotoSearch.app/Ionicons.ttf':
1) Target 'PhotoSearch' (project 'PhotoSearch') has copy command from '/Users/front.end.af/Documents/Nikita/kinoagenstvo/node_modules/react-native-vector-icons/Fonts/Ionicons.ttf' to '/Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Products/Debug-iphonesimulator/PhotoSearch.app/Ionicons.ttf'
2) That command depends on command in Target 'PhotoSearch' (project 'PhotoSearch'): script phase “[CP] Copy Pods Resources”
Build system information
error: Multiple commands produce '/Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Products/Debug-iphonesimulator/PhotoSearch.app/Foundation.ttf':
1) Target 'PhotoSearch' (project 'PhotoSearch') has copy command from '/Users/front.end.af/Documents/Nikita/kinoagenstvo/node_modules/react-native-vector-icons/Fonts/Foundation.ttf' to '/Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Products/Debug-iphonesimulator/PhotoSearch.app/Foundation.ttf'
2) That command depends on command in Target 'PhotoSearch' (project 'PhotoSearch'): script phase “[CP] Copy Pods Resources”
Build system information
error: Multiple commands produce '/Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Products/Debug-iphonesimulator/PhotoSearch.app/Fontisto.ttf':
1) Target 'PhotoSearch' (project 'PhotoSearch') has copy command from '/Users/front.end.af/Documents/Nikita/kinoagenstvo/node_modules/react-native-vector-icons/Fonts/Fontisto.ttf' to '/Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Products/Debug-iphonesimulator/PhotoSearch.app/Fontisto.ttf'
2) That command depends on command in Target 'PhotoSearch' (project 'PhotoSearch'): script phase “[CP] Copy Pods Resources”
Build system information
error: Multiple commands produce '/Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Products/Debug-iphonesimulator/PhotoSearch.app/FontAwesome5_Solid.ttf':
1) Target 'PhotoSearch' (project 'PhotoSearch') has copy command from '/Users/front.end.af/Documents/Nikita/kinoagenstvo/node_modules/react-native-vector-icons/Fonts/FontAwesome5_Solid.ttf' to '/Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Products/Debug-iphonesimulator/PhotoSearch.app/FontAwesome5_Solid.ttf'
2) That command depends on command in Target 'PhotoSearch' (project 'PhotoSearch'): script phase “[CP] Copy Pods Resources”
Build system information
error: Multiple commands produce '/Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Products/Debug-iphonesimulator/PhotoSearch.app/FontAwesome5_Regular.ttf':
1) Target 'PhotoSearch' (project 'PhotoSearch') has copy command from '/Users/front.end.af/Documents/Nikita/kinoagenstvo/node_modules/react-native-vector-icons/Fonts/FontAwesome5_Regular.ttf' to '/Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Products/Debug-iphonesimulator/PhotoSearch.app/FontAwesome5_Regular.ttf'
2) That command depends on command in Target 'PhotoSearch' (project 'PhotoSearch'): script phase “[CP] Copy Pods Resources”
Build system information
error: Multiple commands produce '/Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Products/Debug-iphonesimulator/PhotoSearch.app/FontAwesome5_Brands.ttf':
1) Target 'PhotoSearch' (project 'PhotoSearch') has copy command from '/Users/front.end.af/Documents/Nikita/kinoagenstvo/node_modules/react-native-vector-icons/Fonts/FontAwesome5_Brands.ttf' to '/Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Products/Debug-iphonesimulator/PhotoSearch.app/FontAwesome5_Brands.ttf'
2) That command depends on command in Target 'PhotoSearch' (project 'PhotoSearch'): script phase “[CP] Copy Pods Resources”
Build system information
error: Multiple commands produce '/Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Products/Debug-iphonesimulator/PhotoSearch.app/FontAwesome.ttf':
1) Target 'PhotoSearch' (project 'PhotoSearch') has copy command from '/Users/front.end.af/Documents/Nikita/kinoagenstvo/node_modules/react-native-vector-icons/Fonts/FontAwesome.ttf' to '/Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Products/Debug-iphonesimulator/PhotoSearch.app/FontAwesome.ttf'
2) That command depends on command in Target 'PhotoSearch' (project 'PhotoSearch'): script phase “[CP] Copy Pods Resources”
Build system information
error: Multiple commands produce '/Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Products/Debug-iphonesimulator/PhotoSearch.app/Feather.ttf':
1) Target 'PhotoSearch' (project 'PhotoSearch') has copy command from '/Users/front.end.af/Documents/Nikita/kinoagenstvo/node_modules/react-native-vector-icons/Fonts/Feather.ttf' to '/Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Products/Debug-iphonesimulator/PhotoSearch.app/Feather.ttf'
2) That command depends on command in Target 'PhotoSearch' (project 'PhotoSearch'): script phase “[CP] Copy Pods Resources”
Build system information
error: Multiple commands produce '/Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Products/Debug-iphonesimulator/PhotoSearch.app/EvilIcons.ttf':
1) Target 'PhotoSearch' (project 'PhotoSearch') has copy command from '/Users/front.end.af/Documents/Nikita/kinoagenstvo/node_modules/react-native-vector-icons/Fonts/EvilIcons.ttf' to '/Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Products/Debug-iphonesimulator/PhotoSearch.app/EvilIcons.ttf'
2) That command depends on command in Target 'PhotoSearch' (project 'PhotoSearch'): script phase “[CP] Copy Pods Resources”
Build system information
error: Multiple commands produce '/Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Products/Debug-iphonesimulator/PhotoSearch.app/Entypo.ttf':
1) Target 'PhotoSearch' (project 'PhotoSearch') has copy command from '/Users/front.end.af/Documents/Nikita/kinoagenstvo/node_modules/react-native-vector-icons/Fonts/Entypo.ttf' to '/Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Products/Debug-iphonesimulator/PhotoSearch.app/Entypo.ttf'
2) That command depends on command in Target 'PhotoSearch' (project 'PhotoSearch'): script phase “[CP] Copy Pods Resources”
Build system information
error: Multiple commands produce '/Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Products/Debug-iphonesimulator/PhotoSearch.app/AntDesign.ttf':
1) Target 'PhotoSearch' (project 'PhotoSearch') has copy command from '/Users/front.end.af/Documents/Nikita/kinoagenstvo/node_modules/react-native-vector-icons/Fonts/AntDesign.ttf' to '/Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Products/Debug-iphonesimulator/PhotoSearch.app/AntDesign.ttf'
2) That command depends on command in Target 'PhotoSearch' (project 'PhotoSearch'): script phase “[CP] Copy Pods Resources”
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 7.0, but the range of supported deployment target versions is 8.0 to 13.2.99. (in target 'react-native-orientation' from project 'Pods')
warning: duplicate output file '/Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Products/Debug-iphonesimulator/PhotoSearch.app/AntDesign.ttf' on task: PhaseScriptExecution [CP] Copy Pods Resources /Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Intermediates.noindex/PhotoSearch.build/Debug-iphonesimulator/PhotoSearch.build/Script-97FA921B89C00DA950E1ACE1.sh (in target 'PhotoSearch' from project 'PhotoSearch')
warning: duplicate output file '/Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Products/Debug-iphonesimulator/PhotoSearch.app/Entypo.ttf' on task: PhaseScriptExecution [CP] Copy Pods Resources /Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Intermediates.noindex/PhotoSearch.build/Debug-iphonesimulator/PhotoSearch.build/Script-97FA921B89C00DA950E1ACE1.sh (in target 'PhotoSearch' from project 'PhotoSearch')
warning: duplicate output file '/Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Products/Debug-iphonesimulator/PhotoSearch.app/EvilIcons.ttf' on task: PhaseScriptExecution [CP] Copy Pods Resources /Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Intermediates.noindex/PhotoSearch.build/Debug-iphonesimulator/PhotoSearch.build/Script-97FA921B89C00DA950E1ACE1.sh (in target 'PhotoSearch' from project 'PhotoSearch')
warning: duplicate output file '/Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Products/Debug-iphonesimulator/PhotoSearch.app/Feather.ttf' on task: PhaseScriptExecution [CP] Copy Pods Resources /Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Intermediates.noindex/PhotoSearch.build/Debug-iphonesimulator/PhotoSearch.build/Script-97FA921B89C00DA950E1ACE1.sh (in target 'PhotoSearch' from project 'PhotoSearch')
warning: duplicate output file '/Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Products/Debug-iphonesimulator/PhotoSearch.app/FontAwesome.ttf' on task: PhaseScriptExecution [CP] Copy Pods Resources /Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Intermediates.noindex/PhotoSearch.build/Debug-iphonesimulator/PhotoSearch.build/Script-97FA921B89C00DA950E1ACE1.sh (in target 'PhotoSearch' from project 'PhotoSearch')
warning: duplicate output file '/Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Products/Debug-iphonesimulator/PhotoSearch.app/FontAwesome5_Brands.ttf' on task: PhaseScriptExecution [CP] Copy Pods Resources /Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Intermediates.noindex/PhotoSearch.build/Debug-iphonesimulator/PhotoSearch.build/Script-97FA921B89C00DA950E1ACE1.sh (in target 'PhotoSearch' from project 'PhotoSearch')
warning: duplicate output file '/Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Products/Debug-iphonesimulator/PhotoSearch.app/FontAwesome5_Regular.ttf' on task: PhaseScriptExecution [CP] Copy Pods Resources /Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Intermediates.noindex/PhotoSearch.build/Debug-iphonesimulator/PhotoSearch.build/Script-97FA921B89C00DA950E1ACE1.sh (in target 'PhotoSearch' from project 'PhotoSearch')
warning: duplicate output file '/Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Products/Debug-iphonesimulator/PhotoSearch.app/FontAwesome5_Solid.ttf' on task: PhaseScriptExecution [CP] Copy Pods Resources /Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Intermediates.noindex/PhotoSearch.build/Debug-iphonesimulator/PhotoSearch.build/Script-97FA921B89C00DA950E1ACE1.sh (in target 'PhotoSearch' from project 'PhotoSearch')
warning: duplicate output file '/Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Products/Debug-iphonesimulator/PhotoSearch.app/Fontisto.ttf' on task: PhaseScriptExecution [CP] Copy Pods Resources /Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Intermediates.noindex/PhotoSearch.build/Debug-iphonesimulator/PhotoSearch.build/Script-97FA921B89C00DA950E1ACE1.sh (in target 'PhotoSearch' from project 'PhotoSearch')
warning: duplicate output file '/Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Products/Debug-iphonesimulator/PhotoSearch.app/Foundation.ttf' on task: PhaseScriptExecution [CP] Copy Pods Resources /Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Intermediates.noindex/PhotoSearch.build/Debug-iphonesimulator/PhotoSearch.build/Script-97FA921B89C00DA950E1ACE1.sh (in target 'PhotoSearch' from project 'PhotoSearch')
warning: duplicate output file '/Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Products/Debug-iphonesimulator/PhotoSearch.app/Ionicons.ttf' on task: PhaseScriptExecution [CP] Copy Pods Resources /Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Intermediates.noindex/PhotoSearch.build/Debug-iphonesimulator/PhotoSearch.build/Script-97FA921B89C00DA950E1ACE1.sh (in target 'PhotoSearch' from project 'PhotoSearch')
warning: duplicate output file '/Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Products/Debug-iphonesimulator/PhotoSearch.app/MaterialCommunityIcons.ttf' on task: PhaseScriptExecution [CP] Copy Pods Resources /Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Intermediates.noindex/PhotoSearch.build/Debug-iphonesimulator/PhotoSearch.build/Script-97FA921B89C00DA950E1ACE1.sh (in target 'PhotoSearch' from project 'PhotoSearch')
warning: duplicate output file '/Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Products/Debug-iphonesimulator/PhotoSearch.app/MaterialIcons.ttf' on task: PhaseScriptExecution [CP] Copy Pods Resources /Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Intermediates.noindex/PhotoSearch.build/Debug-iphonesimulator/PhotoSearch.build/Script-97FA921B89C00DA950E1ACE1.sh (in target 'PhotoSearch' from project 'PhotoSearch')
warning: duplicate output file '/Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Products/Debug-iphonesimulator/PhotoSearch.app/Octicons.ttf' on task: PhaseScriptExecution [CP] Copy Pods Resources /Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Intermediates.noindex/PhotoSearch.build/Debug-iphonesimulator/PhotoSearch.build/Script-97FA921B89C00DA950E1ACE1.sh (in target 'PhotoSearch' from project 'PhotoSearch')
warning: duplicate output file '/Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Products/Debug-iphonesimulator/PhotoSearch.app/SimpleLineIcons.ttf' on task: PhaseScriptExecution [CP] Copy Pods Resources /Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Intermediates.noindex/PhotoSearch.build/Debug-iphonesimulator/PhotoSearch.build/Script-97FA921B89C00DA950E1ACE1.sh (in target 'PhotoSearch' from project 'PhotoSearch')
warning: duplicate output file '/Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Products/Debug-iphonesimulator/PhotoSearch.app/Zocial.ttf' on task: PhaseScriptExecution [CP] Copy Pods Resources /Users/front.end.af/Documents/Nikita/kinoagenstvo/ios/build/PhotoSearch/Build/Intermediates.noindex/PhotoSearch.build/Debug-iphonesimulator/PhotoSearch.build/Script-97FA921B89C00DA950E1ACE1.sh (in target 'PhotoSearch' from project 'PhotoSearch')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 6.0, but the range of supported deployment target versions is 8.0 to 13.2.99. (in target 'RSKImageCropper' from project 'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 6.0, but the range of supported deployment target versions is 8.0 to 13.2.99. (in target 'libwebp' from project 'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 7.0, but the range of supported deployment target versions is 8.0 to 13.2.99. (in target 'react-native-viewpager' from project 'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 7.0, but the range of supported deployment target versions is 8.0 to 13.2.99. (in target 'RNImageRotate' from project 'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 7.0, but the range of supported deployment target versions is 8.0 to 13.2.99. (in target 'react-native-image-picker' from project 'Pods')
** BUILD FAILED **
I encountered the same bug when i installed react-native-vector-icons package. This issue is related to the autolinking feature on React Native 0.60+
Open the project into XCode (by opening the .xcworkspace file if you have used CocoaPods or the .xcodeproj file); in the main application tab, look for the Build Phases tab (between Build Setting and Build Rules); open the section Copy Bundle Resources and manually remove all the fonts listed into the error.
Be careful to not touch the [CP] Copy Pods Resources section because you can find the fonts inside that section too!
Related
I'm creating an app on Flutter using the TensorFlowLite library and after finishing all the Flutter Code, I'm trying to debug it on a iOS Simulator and on the console I'm getting the following error:
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
Writing result bundle at path:
/var/folders/13/q8h3_c012wvc3mxcfpzrf6fr0000gn/T/flutter_tools.8a658a/flutter_ios_build_temp_dirNlQoAO/temporary_xcresult_bundle
/Users/chrisley/terminal-addons/flutter/.pub-cache/hosted/pub.dartlang.org/tflite-1.1.2/ios/Classes/TflitePlugin.mm:20:9: fatal error: 'TensorFlowLiteC.h' file not found
#import "TensorFlowLiteC.h"
^~~~~~~~~~~~~~~~~~~
1 error generated.
error: the following command failed with exit code 1 but produced no further output
CompileC /Users/chrisley/Library/Developer/Xcode/DerivedData/Runner-eguofderrkwgjseuiagmsjusmxtx/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/tflite.build/Objects-normal/arm64/TflitePlugin.o /Users/chrisley/terminal-addons/flutter/.pub-cache/hosted/pub.dartlang.org/tflite-1.1.2/ios/Classes/TflitePlugin.mm normal arm64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'tflite' from project 'Pods')
note: Building targets in dependency order
/Users/chrisley/Documents/Development/Flutter/tensorflow_test/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in target 'TensorFlowLiteC' from project 'Pods')
warning: Run script build phase '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 'Runner' from project 'Runner')
warning: Run script build phase 'Thin Binary' 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 'Runner' from project 'Runner')
Result bundle written to path:
/var/folders/13/q8h3_c012wvc3mxcfpzrf6fr0000gn/T/flutter_tools.8a658a/flutter_ios_build_temp_dirNlQoAO/temporary_xcresult_bundle
Lexical or Preprocessor Issue (Xcode): 'TensorFlowLiteC.h' file not found
/Users/chrisley/terminal-addons/flutter/.pub-cache/hosted/pub.dartlang.org/tflite-1.1.2/ios/Classes/TflitePlugin.mm:19:8
2
Could not build the application for the simulator.
Error launching application on iPhone 14 Pro Max.
I tried to solve the error adding pod 'TensorFlowLiteObjC' in the Podfile but it didn't work.
My current version of Fastlane 2.173.0 works OK with XCode 13 and builds and publishes my iOS RN/Native project to TestFlight. But after moving to XCode 14 I have got next error on start building (gym).
[16:56:49]: $ set -o pipefail && xcodebuild -workspace MyProject.xcworkspace -scheme MyProject -configuration Release -destination 'generic/platform=iOS' -archivePath /Users/vagrant/Library/Developer/Xcode/Archives/2022-10-31/MyProject\ 2022-10-31\ 16.56.49.xcarchive archive | tee /var/folders/9l/1ysg9vq51p37q0lgksxhdb9r0000gn/T/fastlane_logs3640665801/gym/MyProject-MyProject.log | xcbeautify
[16:56:52]: ▸ Resolve Package Graph
[16:56:54]: ▸ Resolved source packages
[16:56:54]: ▸ DLog - https://github.com/ikhvorost/DLog # 1.4.0
[16:56:54]: ▸ PromiseQ - https://github.com/ikhvorost/PromiseQ.git # 1.7.0
[16:56:54]: ▸ Realm - https://github.com/realm/realm-cocoa.git # 10.15.1
[16:56:54]: ▸ RealmDatabase - https://github.com/realm/realm-core # 11.4.1
[16:57:10]: ▸ ⚠️ Run script build phase 'Bundle Settings File' 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 'MyProject' from project 'MyProject')
[16:57:10]: ▸ ⚠️ Run script build phase 'Bundle React Native code and images' 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 'MyProject' from project 'MyProject')
[16:57:10]: ▸ ⚠️ Run script build phase 'Embed Frameworks' 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 'MyProject' from project 'MyProject')
[16:57:10]: ▸ ⚠️ Run script build phase 'Start Packager' 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 'MyProject' from project 'MyProject')
[16:57:10]: ▸ ⚠️ Run script build phase '[CP-User] [RNFB] Core Configuration' 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 'MyProject' from project 'MyProject')
[16:57:10]: ▸ ** ARCHIVE FAILED **
gym fails immediately after start from the above log. I've tied to upgrade Fastlane, Ruby, Cocoapods to the latest versions but it doesn't help and I'm still observing the failure.
I need to use new iOS SDK from XCode 14 for new features so how to fix "ARCHIVE FAILED" issue?
XCode 14 strictly checks your project and distribution settings, "Development Team" and Bitcode for pods etc. from the one side, and maybe has some bugs from the other.
You should make next changes to avoid the issue:
Remove Mac Catalyst from the destinations (if you don't use it) in your project:
General > Supported Destinations
Disabling signing, bitcode and Mac Catalyst for all your pods in Podfile:
post_install do |installer|
react_native_post_install(installer)
__apply_Xcode_12_5_M1_post_install_workaround(installer)
flipper_post_install(installer)
# XCode 14 fix
installer.generated_projects.each do |project|
project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
config.build_settings['ENABLE_BITCODE'] = 'NO'
config.build_settings['SUPPORTED_PLATFORMS'] = 'iphoneos iphonesimulator'
config.build_settings['SUPPORTS_MACCATALYST'] = 'NO'
config.build_settings['SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD'] = 'NO'
end
end
end
end
Update Fastlane to 2.210.1 because it has fix for deliver and pilot.
When I try to archive an app on Xcode, I receive many errors regarding the cocoa pods saying that "multiple commands produce...". I believe it is because the app has multiple build schemes using the same cocoapods. One app from the project was able to archive, but the other scheme that I created won't work.
Errors:
error: Multiple commands produce '/Users/ryanreid/Library/Developer/Xcode/DerivedData/gradeApp-hiztjiltybrjmzegfnwrcjdgwmii/Build/Intermediates.noindex/ArchiveIntermediates/Gaels Connect/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/GTMSessionFetcher.framework':
1) Target 'GTMSessionFetcher-iOS14.0' has create directory command with output '/Users/ryanreid/Library/Developer/Xcode/DerivedData/gradeApp-hiztjiltybrjmzegfnwrcjdgwmii/Build/Intermediates.noindex/ArchiveIntermediates/Gaels Connect/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/GTMSessionFetcher.framework'
2) Target 'GTMSessionFetcher-iOS14.2' has create directory command with output '/Users/ryanreid/Library/Developer/Xcode/DerivedData/gradeApp-hiztjiltybrjmzegfnwrcjdgwmii/Build/Intermediates.noindex/ArchiveIntermediates/Gaels Connect/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/GTMSessionFetcher.framework'
error: Multiple commands produce '/Users/ryanreid/Library/Developer/Xcode/DerivedData/gradeApp-hiztjiltybrjmzegfnwrcjdgwmii/Build/Intermediates.noindex/ArchiveIntermediates/Gaels Connect/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/nanopb.framework':
1) Target 'nanopb-iOS14.0' has create directory command with output '/Users/ryanreid/Library/Developer/Xcode/DerivedData/gradeApp-hiztjiltybrjmzegfnwrcjdgwmii/Build/Intermediates.noindex/ArchiveIntermediates/Gaels Connect/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/nanopb.framework'
2) Target 'nanopb-iOS14.2' has create directory command with output '/Users/ryanreid/Library/Developer/Xcode/DerivedData/gradeApp-hiztjiltybrjmzegfnwrcjdgwmii/Build/Intermediates.noindex/ArchiveIntermediates/Gaels Connect/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/nanopb.framework'
error: Multiple commands produce '/Users/ryanreid/Library/Developer/Xcode/DerivedData/gradeApp-hiztjiltybrjmzegfnwrcjdgwmii/Build/Intermediates.noindex/ArchiveIntermediates/Gaels Connect/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/Alamofire.framework':
1) Target 'Alamofire-iOS14.0' has create directory command with output '/Users/ryanreid/Library/Developer/Xcode/DerivedData/gradeApp-hiztjiltybrjmzegfnwrcjdgwmii/Build/Intermediates.noindex/ArchiveIntermediates/Gaels Connect/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/Alamofire.framework'
2) Target 'Alamofire-iOS14.2' has create directory command with output '/Users/ryanreid/Library/Developer/Xcode/DerivedData/gradeApp-hiztjiltybrjmzegfnwrcjdgwmii/Build/Intermediates.noindex/ArchiveIntermediates/Gaels Connect/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/Alamofire.framework'
error: Multiple commands produce '/Users/ryanreid/Library/Developer/Xcode/DerivedData/gradeApp-hiztjiltybrjmzegfnwrcjdgwmii/Build/Intermediates.noindex/ArchiveIntermediates/Gaels Connect/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/FirebaseInstallations.framework':
1) Target 'FirebaseInstallations-iOS14.0' has create directory command with output '/Users/ryanreid/Library/Developer/Xcode/DerivedData/gradeApp-hiztjiltybrjmzegfnwrcjdgwmii/Build/Intermediates.noindex/ArchiveIntermediates/Gaels Connect/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/FirebaseInstallations.framework'
2) Target 'FirebaseInstallations-iOS14.2' has create directory command with output '/Users/ryanreid/Library/Developer/Xcode/DerivedData/gradeApp-hiztjiltybrjmzegfnwrcjdgwmii/Build/Intermediates.noindex/ArchiveIntermediates/Gaels Connect/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/FirebaseInstallations.framework'
error: Multiple commands produce '/Users/ryanreid/Library/Developer/Xcode/DerivedData/gradeApp-hiztjiltybrjmzegfnwrcjdgwmii/Build/Intermediates.noindex/ArchiveIntermediates/Gaels Connect/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/CryptoSwift.framework':
1) Target 'CryptoSwift-iOS14.0' has create directory command with output '/Users/ryanreid/Library/Developer/Xcode/DerivedData/gradeApp-hiztjiltybrjmzegfnwrcjdgwmii/Build/Intermediates.noindex/ArchiveIntermediates/Gaels Connect/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/CryptoSwift.framework'
2) Target 'CryptoSwift-iOS14.2' has create directory command with output '/Users/ryanreid/Library/Developer/Xcode/DerivedData/gradeApp-hiztjiltybrjmzegfnwrcjdgwmii/Build/Intermediates.noindex/ArchiveIntermediates/Gaels Connect/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/CryptoSwift.framework'
error: Multiple commands produce '/Users/ryanreid/Library/Developer/Xcode/DerivedData/gradeApp-hiztjiltybrjmzegfnwrcjdgwmii/Build/Intermediates.noindex/ArchiveIntermediates/Gaels Connect/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/FirebaseCoreDiagnostics.framework':
1) Target 'FirebaseCoreDiagnostics-iOS14.0' has create directory command with output '/Users/ryanreid/Library/Developer/Xcode/DerivedData/gradeApp-hiztjiltybrjmzegfnwrcjdgwmii/Build/Intermediates.noindex/ArchiveIntermediates/Gaels Connect/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/FirebaseCoreDiagnostics.framework'
2) Target 'FirebaseCoreDiagnostics-iOS14.2' has create directory command with output '/Users/ryanreid/Library/Developer/Xcode/DerivedData/gradeApp-hiztjiltybrjmzegfnwrcjdgwmii/Build/Intermediates.noindex/ArchiveIntermediates/Gaels Connect/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/FirebaseCoreDiagnostics.framework'
error: Multiple commands produce '/Users/ryanreid/Library/Developer/Xcode/DerivedData/gradeApp-hiztjiltybrjmzegfnwrcjdgwmii/Build/Intermediates.noindex/ArchiveIntermediates/Gaels Connect/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/DropDown.framework':
1) Target 'DropDown-iOS14.0' has create directory command with output '/Users/ryanreid/Library/Developer/Xcode/DerivedData/gradeApp-hiztjiltybrjmzegfnwrcjdgwmii/Build/Intermediates.noindex/ArchiveIntermediates/Gaels Connect/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/DropDown.framework'
2) Target 'DropDown-iOS14.2' has create directory command with output '/Users/ryanreid/Library/Developer/Xcode/DerivedData/gradeApp-hiztjiltybrjmzegfnwrcjdgwmii/Build/Intermediates.noindex/ArchiveIntermediates/Gaels Connect/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/DropDown.framework'
error: Multiple commands produce '/Users/ryanreid/Library/Developer/Xcode/DerivedData/gradeApp-hiztjiltybrjmzegfnwrcjdgwmii/Build/Intermediates.noindex/ArchiveIntermediates/Gaels Connect/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/FirebaseCore.framework':
1) Target 'FirebaseCore-iOS14.0' has create directory command with output '/Users/ryanreid/Library/Developer/Xcode/DerivedData/gradeApp-hiztjiltybrjmzegfnwrcjdgwmii/Build/Intermediates.noindex/ArchiveIntermediates/Gaels Connect/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/FirebaseCore.framework'
2) Target 'FirebaseCore-iOS14.2' has create directory command with output '/Users/ryanreid/Library/Developer/Xcode/DerivedData/gradeApp-hiztjiltybrjmzegfnwrcjdgwmii/Build/Intermediates.noindex/ArchiveIntermediates/Gaels Connect/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/FirebaseCore.framework'
error: Multiple commands produce '/Users/ryanreid/Library/Developer/Xcode/DerivedData/gradeApp-hiztjiltybrjmzegfnwrcjdgwmii/Build/Intermediates.noindex/ArchiveIntermediates/Gaels Connect/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/FBLPromises.framework':
1) Target 'PromisesObjC-iOS14.0' has create directory command with output '/Users/ryanreid/Library/Developer/Xcode/DerivedData/gradeApp-hiztjiltybrjmzegfnwrcjdgwmii/Build/Intermediates.noindex/ArchiveIntermediates/Gaels Connect/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/FBLPromises.framework'
2) Target 'PromisesObjC-iOS14.2' has create directory command with output '/Users/ryanreid/Library/Developer/Xcode/DerivedData/gradeApp-hiztjiltybrjmzegfnwrcjdgwmii/Build/Intermediates.noindex/ArchiveIntermediates/Gaels Connect/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/FBLPromises.framework'
error: Multiple commands produce '/Users/ryanreid/Library/Developer/Xcode/DerivedData/gradeApp-hiztjiltybrjmzegfnwrcjdgwmii/Build/Intermediates.noindex/ArchiveIntermediates/Gaels Connect/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/openssl_grpc.framework':
1) Target 'BoringSSL-GRPC-iOS14.0' has create directory command with output '/Users/ryanreid/Library/Developer/Xcode/DerivedData/gradeApp-hiztjiltybrjmzegfnwrcjdgwmii/Build/Intermediates.noindex/ArchiveIntermediates/Gaels Connect/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/openssl_grpc.framework'
2) Target 'BoringSSL-GRPC-iOS14.2' has create directory command with output '/Users/ryanreid/Library/Developer/Xcode/DerivedData/gradeApp-hiztjiltybrjmzegfnwrcjdgwmii/Build/Intermediates.noindex/ArchiveIntermediates/Gaels Connect/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/openssl_grpc.framework'
error: Multiple commands produce '/Users/ryanreid/Library/Developer/Xcode/DerivedData/gradeApp-hiztjiltybrjmzegfnwrcjdgwmii/Build/Intermediates.noindex/ArchiveIntermediates/Gaels Connect/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/FirebaseABTesting.framework':
1) Target 'FirebaseABTesting-iOS14.0' has create directory command with output '/Users/ryanreid/Library/Developer/Xcode/DerivedData/gradeApp-hiztjiltybrjmzegfnwrcjdgwmii/Build/Intermediates.noindex/ArchiveIntermediates/Gaels Connect/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/FirebaseABTesting.framework'
2) Target 'FirebaseABTesting-iOS14.2' has create directory command with output '/Users/ryanreid/Library/Developer/Xcode/DerivedData/gradeApp-hiztjiltybrjmzegfnwrcjdgwmii/Build/Intermediates.noindex/ArchiveIntermediates/Gaels Connect/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/FirebaseABTesting.framework'
error: Multiple commands produce '/Users/ryanreid/Library/Developer/Xcode/DerivedData/gradeApp-hiztjiltybrjmzegfnwrcjdgwmii/Build/Intermediates.noindex/ArchiveIntermediates/Gaels Connect/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/FirebaseFirestore.framework':
1) Target 'FirebaseFirestore-iOS14.0' has create directory command with output '/Users/ryanreid/Library/Developer/Xcode/DerivedData/gradeApp-hiztjiltybrjmzegfnwrcjdgwmii/Build/Intermediates.noindex/ArchiveIntermediates/Gaels Connect/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/FirebaseFirestore.framework'
2) Target 'FirebaseFirestore-iOS14.2' has create directory command with output '/Users/ryanreid/Library/Developer/Xcode/DerivedData/gradeApp-hiztjiltybrjmzegfnwrcjdgwmii/Build/Intermediates.noindex/ArchiveIntermediates/Gaels Connect/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/FirebaseFirestore.framework'
error: Multiple commands produce '/Users/ryanreid/Library/Developer/Xcode/DerivedData/gradeApp-hiztjiltybrjmzegfnwrcjdgwmii/Build/Intermediates.noindex/ArchiveIntermediates/Gaels Connect/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/leveldb.framework':
1) Target 'leveldb-library-iOS14.0' has create directory command with output '/Users/ryanreid/Library/Developer/Xcode/DerivedData/gradeApp-hiztjiltybrjmzegfnwrcjdgwmii/Build/Intermediates.noindex/ArchiveIntermediates/Gaels Connect/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/leveldb.framework'
2) Target 'leveldb-library-iOS14.2' has create directory command with output '/Users/ryanreid/Library/Developer/Xcode/DerivedData/gradeApp-hiztjiltybrjmzegfnwrcjdgwmii/Build/Intermediates.noindex/ArchiveIntermediates/Gaels Connect/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/leveldb.framework'
error: Multiple commands produce '/Users/ryanreid/Library/Developer/Xcode/DerivedData/gradeApp-hiztjiltybrjmzegfnwrcjdgwmii/Build/Intermediates.noindex/ArchiveIntermediates/Gaels Connect/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/grpcpp.framework':
1) Target 'gRPC-C++-iOS14.0' has create directory command with output '/Users/ryanreid/Library/Developer/Xcode/DerivedData/gradeApp-hiztjiltybrjmzegfnwrcjdgwmii/Build/Intermediates.noindex/ArchiveIntermediates/Gaels Connect/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/grpcpp.framework'
2) Target 'gRPC-C++-iOS14.2' has create directory command with output '/Users/ryanreid/Library/Developer/Xcode/DerivedData/gradeApp-hiztjiltybrjmzegfnwrcjdgwmii/Build/Intermediates.noindex/ArchiveIntermediates/Gaels Connect/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/grpcpp.framework'
error: Multiple commands produce '/Users/ryanreid/Library/Developer/Xcode/DerivedData/gradeApp-hiztjiltybrjmzegfnwrcjdgwmii/Build/Intermediates.noindex/ArchiveIntermediates/Gaels Connect/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/SwiftSoup.framework':
1) Target 'SwiftSoup-iOS14.0' has create directory command with output '/Users/ryanreid/Library/Developer/Xcode/DerivedData/gradeApp-hiztjiltybrjmzegfnwrcjdgwmii/Build/Intermediates.noindex/ArchiveIntermediates/Gaels Connect/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/SwiftSoup.framework'
2) Target 'SwiftSoup-iOS14.2' has create directory command with output '/Users/ryanreid/Library/Developer/Xcode/DerivedData/gradeApp-hiztjiltybrjmzegfnwrcjdgwmii/Build/Intermediates.noindex/ArchiveIntermediates/Gaels Connect/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/SwiftSoup.framework'
error: Multiple commands produce '/Users/ryanreid/Library/Developer/Xcode/DerivedData/gradeApp-hiztjiltybrjmzegfnwrcjdgwmii/Build/Intermediates.noindex/ArchiveIntermediates/Gaels Connect/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/JGProgressHUD.framework':
1) Target 'JGProgressHUD-iOS14.0' has create directory command with output '/Users/ryanreid/Library/Developer/Xcode/DerivedData/gradeApp-hiztjiltybrjmzegfnwrcjdgwmii/Build/Intermediates.noindex/ArchiveIntermediates/Gaels Connect/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/JGProgressHUD.framework'
2) Target 'JGProgressHUD-iOS14.2' has create directory command with output '/Users/ryanreid/Library/Developer/Xcode/DerivedData/gradeApp-hiztjiltybrjmzegfnwrcjdgwmii/Build/Intermediates.noindex/ArchiveIntermediates/Gaels Connect/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/JGProgressHUD.framework'
...
Podfile:
# Uncomment the next line to define a global platform for your project
# platform :ios, '13.0'
target 'gradeApp' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
# Pods for gradeApp
target 'gradeAppTests' do
inherit! :search_paths
# Pods for testing
end
target 'gradeAppUITests' do
# Pods for testing
end
pod 'JGProgressHUD'
pod 'NVActivityIndicatorView'
pod 'DropDown'
pod 'CryptoSwift'
pod 'SwiftSoup'
pod 'Alamofire'
pod 'AlamofireImage', '~> 4.1'
pod 'Firebase/Analytics'
pod 'Firebase/Crashlytics'
pod 'FirebaseFirestoreSwift'
pod 'Firebase/Core'
pod 'Firebase/Performance'
end
target 'Gaels Connect' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
# Pods for Gaels Connect
pod 'JGProgressHUD'
pod 'NVActivityIndicatorView'
pod 'DropDown'
pod 'CryptoSwift'
pod 'SwiftSoup'
pod 'Alamofire'
pod 'AlamofireImage', '~> 4.1'
pod 'Firebase/Analytics'
pod 'Firebase/Crashlytics'
pod 'FirebaseFirestoreSwift'
pod 'Firebase/Core'
pod 'Firebase/Performance'
end
I also receive warnings as the build begins to archive for most/all cocoapods:
warning: Multiple targets match implicit dependency for linker flags '-framework Alamofire'. Consider adding an explicit dependency on the intended target to resolve this ambiguity. (in target 'Gaels Connect' from project 'gradeApp')
note: Target 'Alamofire-iOS14.0' (in project 'Pods')
note: Target 'Alamofire-iOS14.2' (in project 'Pods')
warning: Multiple targets match implicit dependency for linker flags '-framework AlamofireImage'. Consider adding an explicit dependency on the intended target to resolve this ambiguity. (in target 'Gaels Connect' from project 'gradeApp')
note: Target 'AlamofireImage-iOS14.0' (in project 'Pods')
note: Target 'AlamofireImage-iOS14.2' (in project 'Pods')
warning: Multiple targets match implicit dependency for linker flags '-framework CryptoSwift'. Consider adding an explicit dependency on the intended target to resolve this ambiguity. (in target 'Gaels Connect' from project 'gradeApp')
note: Target 'CryptoSwift-iOS14.0' (in project 'Pods')
note: Target 'CryptoSwift-iOS14.2' (in project 'Pods')
warning: Multiple targets match implicit dependency for linker flags '-framework DropDown'. Consider adding an explicit dependency on the intended target to resolve this ambiguity. (in target 'Gaels Connect' from project 'gradeApp')
note: Target 'DropDown-iOS14.0' (in project 'Pods')
note: Target 'DropDown-iOS14.2' (in project 'Pods')
warning: Multiple targets match implicit dependency for linker flags '-framework FBLPromises'. Consider adding an explicit dependency on the intended target to resolve this ambiguity. (in target 'Gaels Connect' from project 'gradeApp')
note: Target 'PromisesObjC-iOS14.0' (in project 'Pods')
note: Target 'PromisesObjC-iOS14.2' (in project 'Pods')
warning: Multiple targets match implicit dependency for linker flags '-framework FirebaseABTesting'. Consider adding an explicit dependency on the intended target to resolve this ambiguity. (in target 'Gaels Connect' from project 'gradeApp')
note: Target 'FirebaseABTesting-iOS14.0' (in project 'Pods')
note: Target 'FirebaseABTesting-iOS14.2' (in project 'Pods')
warning: Multiple targets match implicit dependency for linker flags '-framework FirebaseCore'. Consider adding an explicit dependency on the intended target to resolve this ambiguity. (in target 'Gaels Connect' from project 'gradeApp')
note: Target 'FirebaseCore-iOS14.0' (in project 'Pods')
note: Target 'FirebaseCore-iOS14.2' (in project 'Pods')
...
The problem was that the two schemes had two different iOS deployment versions (one was iOS 14 and the other was iOS 14.2). Once I switched them both to iOS 13.0, I was able to archive both apps successfully.
run pod deintegrate then remove podfile.lock then pod install then set build active architecture to yes
also, it maybe help if u put this at the end of pod file
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0'
end
end
end
iOS archive build generation is succeed when I generate from xcode but it fails in Appcircle.io with the following error. If I disable "use_flipper" from the PodFile, "pre_install" & "post_install" scripts are not running and build is failed in my xcode itself
** ARCHIVE FAILED **
The following build commands failed:
CompileC .../_appcircle_temp/appcircle_export_archive/DerivedData/Build/Intermediates.noindex/ArchiveIntermediates/MyProject/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/Flipper-Folly.build/Objects-normal/armv7/VirtualEventBase.o .../_appcircle_temp/Repository/ios/Pods/Flipper-Folly/folly/io/async/VirtualEventBase.cpp normal armv7 c++ com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
warning: Could not read serialized diagnostics file: Cannot Load File: Failed to open diagnostics file (in target 'Flipper-Folly' from project 'Pods')
warning: no rule to process file '.../_appcircle_temp/Repository/ios/Pods/Flipper-RSocket/rsocket/benchmarks/CMakeLists.txt' of type 'text' for architecture 'armv7' (in target 'Flipper-RSocket' from project 'Pods')
warning: no rule to process file '.../_appcircle_temp/Repository/ios/Pods/Flipper-RSocket/rsocket/benchmarks/README.md' of type 'net.daringfireball.markdown' for architecture 'armv7' (in target 'Flipper-RSocket' from project 'Pods')
warning: no rule to process file '.../_appcircle_temp/Repository/ios/Pods/Flipper-RSocket/rsocket/README.md' of type 'net.daringfireball.markdown' for architecture 'armv7' (in target 'Flipper-RSocket' from project 'Pods')
warning: no rule to process file '.../_appcircle_temp/Repository/ios/Pods/Flipper-RSocket/rsocket/benchmarks/CMakeLists.txt' of type 'text' for architecture 'arm64' (in target 'Flipper-RSocket' from project 'Pods')
warning: no rule to process file '.../_appcircle_temp/Repository/ios/Pods/Flipper-RSocket/rsocket/benchmarks/README.md' of type 'net.daringfireball.markdown' for architecture 'arm64' (in target 'Flipper-RSocket' from project 'Pods')
warning: no rule to process file '.../_appcircle_temp/Repository/ios/Pods/Flipper-RSocket/rsocket/README.md' of type 'net.daringfireball.markdown' for architecture 'arm64' (in target 'Flipper-RSocket' from project 'Pods')
##[error] 3/22/2021 3:24:36 AM EXCEPTION
##[error] ##[error] Process exit with error code: 1
##[error] 42gez13d.r50 Error at step: Xcodebuild for Devices
##[error] EXCEPTION: ##[error] Process exit with error code: 1
I have an issue where I'm unable to run my Flutter application on any iOS device.
I'm running my project in Xcode 11 and below is the issue I get
Showing Recent Issues
Build target Runner of project Runner with configuration Debug
error: /Users/jaserjsk/Development/GitHub/Middle-East-Cuisine/me_cuisine_app/ios/Flutter/Debug.xcconfig:1: could not find included file 'Generated.xcconfig' in search paths (in target 'Runner' from project 'Runner')
error: /Users/jaserjsk/Development/GitHub/Middle-East-Cuisine/me_cuisine_app/ios/Flutter/Debug.xcconfig:1: could not find included file 'Generated.xcconfig' in search paths (in target 'Runner' from project 'Runner')
error: /Users/jaserjsk/Development/GitHub/Middle-East-Cuisine/me_cuisine_app/ios/Flutter/Debug.xcconfig:1: could not find included file 'Generated.xcconfig' in search paths (in target 'Runner' from project 'Runner')
error: /Users/jaserjsk/Development/GitHub/Middle-East-Cuisine/me_cuisine_app/ios/Flutter/Debug.xcconfig:1: could not find included file 'Generated.xcconfig' in search paths (in target 'Runner' from project 'Runner')
error: /Users/jaserjsk/Development/GitHub/Middle-East-Cuisine/me_cuisine_app/ios/Flutter/Debug.xcconfig:1: could not find included file 'Generated.xcconfig' in search paths (in target 'Runner' from project 'Runner')
error: /Users/jaserjsk/Development/GitHub/Middle-East-Cuisine/me_cuisine_app/ios/Flutter/Debug.xcconfig:1: could not find included file 'Generated.xcconfig' in search paths (in target 'Runner' from project 'Runner')
error: /Users/jaserjsk/Development/GitHub/Middle-East-Cuisine/me_cuisine_app/ios/Flutter/Debug.xcconfig:1: could not find included file 'Generated.xcconfig' in search paths (in target 'Runner' from project 'Runner')
error: /Users/jaserjsk/Development/GitHub/Middle-East-Cuisine/me_cuisine_app/ios/Flutter/Debug.xcconfig:1: could not find included file 'Generated.xcconfig' in search paths (in target 'Runner' from project 'Runner')
warning: The use of Swift 3 #objc inference in Swift 4 mode is deprecated. Please address deprecated #objc inference warnings, test your code with “Use of deprecated Swift 3 #objc inference” logging enabled, and then disable inference by changing the "Swift 3 #objc Inference" build setting to "Default" for the "Runner" target. (in target 'Runner' from project 'Runner')
I have no ide what this mean or how to fix it.
Please help