Skip to content

Instantly share code, notes, and snippets.

@jandigital
Last active January 13, 2022 13:45
Show Gist options
  • Save jandigital/1bef1ef9e165cae5a679990b8ced0910 to your computer and use it in GitHub Desktop.
Save jandigital/1bef1ef9e165cae5a679990b8ced0910 to your computer and use it in GitHub Desktop.
Terminal.output
➜ mobile-react-native git:(draft) ✗ bash -l -c "$(curl -sfL https://raw.githubusercontent.com/bitrise-tools/codesigndoc/master/_scripts/install_wrap.sh)"
=> Creating a temporary directory for codesigndoc ...
=> Downloading version: 2.4.1
=> Downloading codesigndoc from (https://github.com/bitrise-io/codesigndoc/releases/download/2.4.1/codesigndoc-Darwin-x86_64) to (/var/folders/l2/gnj4t9rn3dg477gwy7z6vphw0000gn/T/codesigndocXXXXXX.q6nkWH9K/codesigndoc) ...
########################################################################################################################################################################################## 100.0%########################################################################################################################################################################################## 100.0%
=> Making it executable ...
=> codesigndoc version: 2.4.1
=> Running codesigndoc scan ...
Scan the directory for project files
You can specify the Xcode project/workscape file to scan with the --file flag.
Found one project file: mobile.xcworkspace.
🔦 Scanning Schemes ...
$ xcodebuild "-workspace" "/Users/jon/Documents/Projects/jxd/mobile-react-native/ios/mobile.xcworkspace" "-list"
Select the Scheme you usually use in Xcode
Please select from the list:
[1] : boost-for-react-native
[2] : CocoaAsyncSocket
[3] : DoubleConversion
[4] : FBLazyVector
[5] : FBReactNativeSpec
[6] : Firebase
[7] : FirebaseCore
[8] : FirebaseCoreDiagnostics
[9] : Flipper
[10] : Flipper-Boost-iOSX
[11] : Flipper-DoubleConversion
[12] : Flipper-Fmt
[13] : Flipper-Folly
[14] : Flipper-Glog
[15] : Flipper-PeerTalk
[16] : Flipper-RSocket
[17] : FlipperKit
[18] : fmt
[19] : GCDWebServer
[20] : glog
[21] : GoogleDataTransport
[22] : GoogleUtilities
[23] : libevent
[24] : libwebp
[25] : mobile
[26] : mobile-tvOS
[27] : nanopb
[28] : OpenSSL-Universal
[29] : Pods-mobile
[30] : Pods-mobile-mobileTests
[31] : PromisesObjC
[32] : RCT-Folly
[33] : RCTRequired
[34] : RCTTypeSafety
[35] : React
[36] : React-callinvoker
[37] : React-Core
[38] : React-Core-AccessibilityResources
[39] : React-CoreModules
[40] : React-cxxreact
[41] : React-jsi
[42] : React-jsiexecutor
[43] : React-jsinspector
[44] : react-native-biometrics
[45] : react-native-config
[46] : react-native-flipper
[47] : react-native-netinfo
[48] : react-native-pager-view
[49] : react-native-safe-area-context
[50] : react-native-webview
[51] : React-perflogger
[52] : React-RCTActionSheet
[53] : React-RCTAnimation
[54] : React-RCTBlob
[55] : React-RCTImage
[56] : React-RCTLinking
[57] : React-RCTNetwork
[58] : React-RCTSettings
[59] : React-RCTText
[60] : React-RCTVibration
[61] : React-runtimeexecutor
[62] : ReactCommon
[63] : RealmJS
[64] : RNBackgroundFetch
[65] : RNCAsyncStorage
[66] : RNCMaskedView
[67] : RNDeviceInfo
[68] : RNFastImage
[69] : RNFBApp
[70] : RNGestureHandler
[71] : RNKeychain
[72] : RNReanimated
[73] : RNScreens
[74] : RNSVG
[75] : RNVectorIcons
[76] : SDWebImage
[77] : SDWebImageWebPCoder
[78] : Yoga
[79] : YogaKit
(type in the option's number, then hit Enter) [1] : 25
Xcode (xcodebuild) version: Xcode 13.2.1 (Build version 13C100)
🔦 Running an Xcode Archive, to get all the required code signing settings...
$ xcodebuild "-workspace" "/Users/jon/Documents/Projects/jxd/mobile-react-native/ios/mobile.xcworkspace" "-scheme" "mobile" "clean" "archive" "-archivePath" "/var/folders/l2/gnj4t9rn3dg477gwy7z6vphw0000gn/T/__codesigndoc__686467951/mobile.xcarchive"
...............................................................................................................................................................................................................................................................................................................................................................
Last lines of the build log:
Validate /Users/jon/Library/Developer/Xcode/DerivedData/mobile-gsqjrlnbmpbvxvbudatjjyyhyvtm/Build/Intermediates.noindex/ArchiveIntermediates/mobile/InstallationBuildProductsLocation/Applications/mobile.app (in target 'mobile' from project 'mobile')
cd /Users/jon/Documents/Projects/jxd/mobile-react-native/ios
builtin-validationUtility /Users/jon/Library/Developer/Xcode/DerivedData/mobile-gsqjrlnbmpbvxvbudatjjyyhyvtm/Build/Intermediates.noindex/ArchiveIntermediates/mobile/InstallationBuildProductsLocation/Applications/mobile.app
Touch /Users/jon/Library/Developer/Xcode/DerivedData/mobile-gsqjrlnbmpbvxvbudatjjyyhyvtm/Build/Intermediates.noindex/ArchiveIntermediates/mobile/InstallationBuildProductsLocation/Applications/mobile.app (in target 'mobile' from project 'mobile')
cd /Users/jon/Documents/Projects/jxd/mobile-react-native/ios
/usr/bin/touch -c /Users/jon/Library/Developer/Xcode/DerivedData/mobile-gsqjrlnbmpbvxvbudatjjyyhyvtm/Build/Intermediates.noindex/ArchiveIntermediates/mobile/InstallationBuildProductsLocation/Applications/mobile.app
** ARCHIVE FAILED **
The following build commands failed:
Run custom shell script 'Run Script'
(1 failure)
Please check the build log to see what caused the error.
Xcode Archive failed.
Open the project: /Users/jon/Documents/Projects/jxd/mobile-react-native/ios/mobile.xcworkspace
and make sure that you can build an Archive, with the scheme: mobile
💡 Saving xcodebuild output into file: /Users/jon/Documents/Projects/jxd/mobile-react-native/codesigndoc_exports/xcodebuild-output.log
------------------------------
First of all please make sure that you can Archive your app from Xcode.
codesigndoc only works if you can archive your app from Xcode.
If you can, and you get a valid .ipa/.app file if you export from Xcode,
please create an issue on GitHub at: https://github.com/bitrise-io/codesigndoc/issues
with as many details & logs as you can share!
------------------------------
Error: failed to run xcodebuild command, error: exit status 65
➜ mobile-react-native git:(draft) ✗ bash -l -c "$(curl -sfL https://raw.githubusercontent.com/bitrise-tools/codesigndoc/master/_scripts/install_wrap-xcode.sh)"
=> Creating a temporary directory for codesigndoc ...
=> Downloading version: 2.4.1
=> Downloading codesigndoc from (https://github.com/bitrise-io/codesigndoc/releases/download/2.4.1/codesigndoc-Darwin-x86_64) to (/var/folders/l2/gnj4t9rn3dg477gwy7z6vphw0000gn/T/codesigndocXXXXXX.HQK8JI22/codesigndoc) ...
########################################################################################################################################################################################## 100.0%########################################################################################################################################################################################## 100.0%
=> Making it executable ...
=> codesigndoc version: 2.4.1
=> Running codesigndoc scan ...
Scan the directory for project files
You can specify the Xcode project/workscape file to scan with the --file flag.
Found one project file: mobile.xcworkspace.
🔦 Scanning Schemes ...
$ xcodebuild "-workspace" "/Users/jon/Documents/Projects/jxd/mobile-react-native/ios/mobile.xcworkspace" "-list"
Select the Scheme you usually use in Xcode
Please select from the list:
[1] : boost-for-react-native
[2] : CocoaAsyncSocket
[3] : DoubleConversion
[4] : FBLazyVector
[5] : FBReactNativeSpec
[6] : Firebase
[7] : FirebaseCore
[8] : FirebaseCoreDiagnostics
[9] : Flipper
[10] : Flipper-Boost-iOSX
[11] : Flipper-DoubleConversion
[12] : Flipper-Fmt
[13] : Flipper-Folly
[14] : Flipper-Glog
[15] : Flipper-PeerTalk
[16] : Flipper-RSocket
[17] : FlipperKit
[18] : fmt
[19] : GCDWebServer
[20] : glog
[21] : GoogleDataTransport
[22] : GoogleUtilities
[23] : libevent
[24] : libwebp
[25] : mobile
[26] : mobile-tvOS
[27] : nanopb
[28] : OpenSSL-Universal
[29] : Pods-mobile
[30] : Pods-mobile-mobileTests
[31] : PromisesObjC
[32] : RCT-Folly
[33] : RCTRequired
[34] : RCTTypeSafety
[35] : React
[36] : React-callinvoker
[37] : React-Core
[38] : React-Core-AccessibilityResources
[39] : React-CoreModules
[40] : React-cxxreact
[41] : React-jsi
[42] : React-jsiexecutor
[43] : React-jsinspector
[44] : react-native-biometrics
[45] : react-native-config
[46] : react-native-flipper
[47] : react-native-netinfo
[48] : react-native-pager-view
[49] : react-native-safe-area-context
[50] : react-native-webview
[51] : React-perflogger
[52] : React-RCTActionSheet
[53] : React-RCTAnimation
[54] : React-RCTBlob
[55] : React-RCTImage
[56] : React-RCTLinking
[57] : React-RCTNetwork
[58] : React-RCTSettings
[59] : React-RCTText
[60] : React-RCTVibration
[61] : React-runtimeexecutor
[62] : ReactCommon
[63] : RealmJS
[64] : RNBackgroundFetch
[65] : RNCAsyncStorage
[66] : RNCMaskedView
[67] : RNDeviceInfo
[68] : RNFastImage
[69] : RNFBApp
[70] : RNGestureHandler
[71] : RNKeychain
[72] : RNReanimated
[73] : RNScreens
[74] : RNSVG
[75] : RNVectorIcons
[76] : SDWebImage
[77] : SDWebImageWebPCoder
[78] : Yoga
[79] : YogaKit
(type in the option's number, then hit Enter) [1] : 25
Xcode (xcodebuild) version: Xcode 13.2.1 (Build version 13C100)
🔦 Running an Xcode Archive, to get all the required code signing settings...
$ xcodebuild "-workspace" "/Users/jon/Documents/Projects/jxd/mobile-react-native/ios/mobile.xcworkspace" "-scheme" "mobile" "clean" "archive" "-archivePath" "/var/folders/l2/gnj4t9rn3dg477gwy7z6vphw0000gn/T/__codesigndoc__399163559/mobile.xcarchive"
.................................................................................................................................................................................................................................................................................................................
Last lines of the build log:
Validate /Users/jon/Library/Developer/Xcode/DerivedData/mobile-gsqjrlnbmpbvxvbudatjjyyhyvtm/Build/Intermediates.noindex/ArchiveIntermediates/mobile/InstallationBuildProductsLocation/Applications/mobile.app (in target 'mobile' from project 'mobile')
cd /Users/jon/Documents/Projects/jxd/mobile-react-native/ios
builtin-validationUtility /Users/jon/Library/Developer/Xcode/DerivedData/mobile-gsqjrlnbmpbvxvbudatjjyyhyvtm/Build/Intermediates.noindex/ArchiveIntermediates/mobile/InstallationBuildProductsLocation/Applications/mobile.app
Touch /Users/jon/Library/Developer/Xcode/DerivedData/mobile-gsqjrlnbmpbvxvbudatjjyyhyvtm/Build/Intermediates.noindex/ArchiveIntermediates/mobile/InstallationBuildProductsLocation/Applications/mobile.app (in target 'mobile' from project 'mobile')
cd /Users/jon/Documents/Projects/jxd/mobile-react-native/ios
/usr/bin/touch -c /Users/jon/Library/Developer/Xcode/DerivedData/mobile-gsqjrlnbmpbvxvbudatjjyyhyvtm/Build/Intermediates.noindex/ArchiveIntermediates/mobile/InstallationBuildProductsLocation/Applications/mobile.app
** ARCHIVE FAILED **
The following build commands failed:
Run custom shell script 'Run Script'
(1 failure)
Please check the build log to see what caused the error.
Xcode Archive failed.
Open the project: /Users/jon/Documents/Projects/jxd/mobile-react-native/ios/mobile.xcworkspace
and make sure that you can build an Archive, with the scheme: mobile
💡 Saving xcodebuild output into file: /Users/jon/Documents/Projects/jxd/mobile-react-native/codesigndoc_exports/xcodebuild-output.log
------------------------------
First of all please make sure that you can Archive your app from Xcode.
codesigndoc only works if you can archive your app from Xcode.
If you can, and you get a valid .ipa/.app file if you export from Xcode,
please create an issue on GitHub at: https://github.com/bitrise-io/codesigndoc/issues
with as many details & logs as you can share!
------------------------------
Error: failed to run xcodebuild command, error: exit status 65
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment