react-native-image-crop-picker: Archive fails intermittently with
Version
Tell us which versions you are using:
"react-native-image-crop-picker": "0.14.1"
"react-native": "0.42.3"
Xcode Version 8.3.3
Platform
- iOS
Expected behaviour
Archive project is successful consistently.
Actual behaviour
Able to build and run in simulator without issues, but fails most archive attempts. About 1/10 attempts will be successful, an attempt being steps 2-4.
Steps to reproduce
-
Incorporate react-native-image-picker as described in docs.
-
Copy ImageCropPickerSDK/QBImagePicker.framework and ImageCropPickerSDK/RSKImageCropper.framework into project’s ios folder.
-
Add to Build Phases > Copy Files
-
Product > Archive
Attachments
CompileC /Users/jiangyu/Library/Developer/Xcode/DerivedData/coho-bjinzulzvsfqxpcgpoffhcszpiie/Build/Intermediates/ArchiveIntermediates/coho/IntermediateBuildFilesPath/imageCropPicker.build/Release-iphoneos/imageCropPicker.build/Objects-normal/armv7/ImageCropPicker-400F16F3CF62B860.o ImageCropPicker.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/jiangyu/coho-release-branch/node_modules/react-native-image-crop-picker/ios
export LANG=en_US.US-ASCII
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch armv7 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -fmodules-cache-path=/Users/jiangyu/Library/Developer/Xcode/DerivedData/ModuleCache -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/jiangyu/Library/Developer/Xcode/DerivedData/ModuleCache/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -Os -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wunreachable-code -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DNS_BLOCK_ASSERTIONS=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -miphoneos-version-min=8.0 -g -Wno-sign-conversion -Wno-infinite-recursion -fembed-bitcode -iquote /Users/jiangyu/Library/Developer/Xcode/DerivedData/coho-bjinzulzvsfqxpcgpoffhcszpiie/Build/Intermediates/ArchiveIntermediates/coho/IntermediateBuildFilesPath/imageCropPicker.build/Release-iphoneos/imageCropPicker.build/imageCropPicker-generated-files.hmap -I/Users/jiangyu/Library/Developer/Xcode/DerivedData/coho-bjinzulzvsfqxpcgpoffhcszpiie/Build/Intermediates/ArchiveIntermediates/coho/IntermediateBuildFilesPath/imageCropPicker.build/Release-iphoneos/imageCropPicker.build/imageCropPicker-own-target-headers.hmap -I/Users/jiangyu/Library/Developer/Xcode/DerivedData/coho-bjinzulzvsfqxpcgpoffhcszpiie/Build/Intermediates/ArchiveIntermediates/coho/IntermediateBuildFilesPath/imageCropPicker.build/Release-iphoneos/imageCropPicker.build/imageCropPicker-all-non-framework-target-headers.hmap -ivfsoverlay /Users/jiangyu/Library/Developer/Xcode/DerivedData/coho-bjinzulzvsfqxpcgpoffhcszpiie/Build/Intermediates/ArchiveIntermediates/coho/IntermediateBuildFilesPath/imageCropPicker.build/all-product-headers.yaml -iquote /Users/jiangyu/Library/Developer/Xcode/DerivedData/coho-bjinzulzvsfqxpcgpoffhcszpiie/Build/Intermediates/ArchiveIntermediates/coho/IntermediateBuildFilesPath/imageCropPicker.build/Release-iphoneos/imageCropPicker.build/imageCropPicker-project-headers.hmap -I/Users/jiangyu/Library/Developer/Xcode/DerivedData/coho-bjinzulzvsfqxpcgpoffhcszpiie/Build/Intermediates/ArchiveIntermediates/coho/BuildProductsPath/Release-iphoneos/include -I../../react-native/React -I../../react-native/React/Base -I../../react-native/React/CxxBridge -I../../react-native/React/CxxModule -I../../react-native/React/CxxUtils -I../../react-native/React/Executors -I../../react-native/React/Modules -I../../react-native/React/Profiler -I../../react-native/React/Views -I../../react-native/Libraries/Image -I../../react-native/Libraries/Image/__tests__ -I/Users/jiangyu/Library/Developer/Xcode/DerivedData/coho-bjinzulzvsfqxpcgpoffhcszpiie/Build/Intermediates/ArchiveIntermediates/coho/IntermediateBuildFilesPath/imageCropPicker.build/Release-iphoneos/imageCropPicker.build/DerivedSources/armv7 -I/Users/jiangyu/Library/Developer/Xcode/DerivedData/coho-bjinzulzvsfqxpcgpoffhcszpiie/Build/Intermediates/ArchiveIntermediates/coho/IntermediateBuildFilesPath/imageCropPicker.build/Release-iphoneos/imageCropPicker.build/DerivedSources -F/Users/jiangyu/Library/Developer/Xcode/DerivedData/coho-bjinzulzvsfqxpcgpoffhcszpiie/Build/Intermediates/ArchiveIntermediates/coho/BuildProductsPath/Release-iphoneos -F/Users/jiangyu/coho-release-branch/node_modules/react-native-image-crop-picker/ios/RSKImageCropper/build/Debug-iphoneos -MMD -MT dependencies -MF /Users/jiangyu/Library/Developer/Xcode/DerivedData/coho-bjinzulzvsfqxpcgpoffhcszpiie/Build/Intermediates/ArchiveIntermediates/coho/IntermediateBuildFilesPath/imageCropPicker.build/Release-iphoneos/imageCropPicker.build/Objects-normal/armv7/ImageCropPicker-400F16F3CF62B860.d --serialize-diagnostics /Users/jiangyu/Library/Developer/Xcode/DerivedData/coho-bjinzulzvsfqxpcgpoffhcszpiie/Build/Intermediates/ArchiveIntermediates/coho/IntermediateBuildFilesPath/imageCropPicker.build/Release-iphoneos/imageCropPicker.build/Objects-normal/armv7/ImageCropPicker-400F16F3CF62B860.dia -c /Users/jiangyu/coho-release-branch/node_modules/react-native-image-crop-picker/ios/ImageCropPicker.m -o /Users/jiangyu/Library/Developer/Xcode/DerivedData/coho-bjinzulzvsfqxpcgpoffhcszpiie/Build/Intermediates/ArchiveIntermediates/coho/IntermediateBuildFilesPath/imageCropPicker.build/Release-iphoneos/imageCropPicker.build/Objects-normal/armv7/ImageCropPicker-400F16F3CF62B860.o
In file included from /Users/jiangyu/coho-release-branch/node_modules/react-native-image-crop-picker/ios/ImageCropPicker.m:8:
In file included from /Users/jiangyu/coho-release-branch/node_modules/react-native-image-crop-picker/ios/ImageCropPicker.h:15:
In file included from ../../react-native/Libraries/Image/RCTImageLoader.h:12:
In file included from /Users/jiangyu/Library/Developer/Xcode/DerivedData/coho-bjinzulzvsfqxpcgpoffhcszpiie/Build/Intermediates/ArchiveIntermediates/coho/BuildProductsPath/Release-iphoneos/include/React/RCTBridge.h:13:
/Users/jiangyu/Library/Developer/Xcode/DerivedData/coho-bjinzulzvsfqxpcgpoffhcszpiie/Build/Intermediates/ArchiveIntermediates/coho/BuildProductsPath/Release-iphoneos/include/React/RCTBridgeModule.h:55:11: warning: duplicate protocol definition of 'RCTBridgeModule' is ignored
@protocol RCTBridgeModule <NSObject>
^
In file included from /Users/jiangyu/coho-release-branch/node_modules/react-native-image-crop-picker/ios/ImageCropPicker.m:8:
In file included from /Users/jiangyu/coho-release-branch/node_modules/react-native-image-crop-picker/ios/ImageCropPicker.h:14:
../../react-native/React/Base/RCTBridgeModule.h:55:11: note: previous definition is here
@protocol RCTBridgeModule <NSObject>
^
In file included from /Users/jiangyu/coho-release-branch/node_modules/react-native-image-crop-picker/ios/ImageCropPicker.m:8:
/Users/jiangyu/coho-release-branch/node_modules/react-native-image-crop-picker/ios/ImageCropPicker.h:26:9: fatal error: 'RSKImageCropper/RSKImageCropper.h' file not found
#import "RSKImageCropper/RSKImageCropper.h"
^
1 warning and 1 error generated.
Please help! We’re doing daily builds and it often takes 2-3 hours to archive successfully!
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 5
- Comments: 16 (1 by maintainers)
None of this works for me.
@wildQueequeg
