{"action":"created","issue":{"url":"https://api.github.com/repos/react-native-community/react-native-camera/issues/1231","repository_url":"https://api.github.com/repos/react-native-community/react-native-camera","labels_url":"https://api.github.com/repos/react-native-community/react-native-camera/issues/1231/labels{/name}","comments_url":"https://api.github.com/repos/react-native-community/react-native-camera/issues/1231/comments","events_url":"https://api.github.com/repos/react-native-community/react-native-camera/issues/1231/events","html_url":"https://github.com/react-native-community/react-native-camera/issues/1231","id":296465433,"number":1231,"title":"Build failed for RNCameraUtils","user":{"login":"chmielot","id":380087,"avatar_url":"https://avatars1.githubusercontent.com/u/380087?v=4","gravatar_id":"","url":"https://api.github.com/users/chmielot","html_url":"https://github.com/chmielot","followers_url":"https://api.github.com/users/chmielot/followers","following_url":"https://api.github.com/users/chmielot/following{/other_user}","gists_url":"https://api.github.com/users/chmielot/gists{/gist_id}","starred_url":"https://api.github.com/users/chmielot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chmielot/subscriptions","organizations_url":"https://api.github.com/users/chmielot/orgs","repos_url":"https://api.github.com/users/chmielot/repos","events_url":"https://api.github.com/users/chmielot/events{/privacy}","received_events_url":"https://api.github.com/users/chmielot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-02-12T17:45:15Z","updated_at":"2018-02-14T17:24:45Z","closed_at":null,"author_association":"NONE","body":"### Which implementation are you using\r\n\r\n*RNCamera*\r\n\r\n### Steps to reproduce\r\n1. Follow the migration guide to RNCamera\r\n2. I don't need FaceDetection, so deleted the folder in node_modules and from XCode project\r\n3. `react-native run-ios`\r\n\r\n### Expected behaviour\r\nBuild succeeds\r\n\r\n### Actual behaviour\r\nBuild fails:\r\n\r\n```\r\nCompileC /Users/me/Code/ios/build/Build/Intermediates/RNCamera.build/Debug-iphonesimulator/RNCamera.build/Objects-normal/x86_64/RNCameraUtils.o RN/RNCameraUtils.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler\r\n    cd /Users/me/Code/node_modules/react-native-camera/ios\r\n    export LANG=en_US.US-ASCII\r\n    export PATH=\"/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/MacGPG2/bin:/Users/cht/Library/Android/sdk/tools\"\r\n    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -fmodules-cache-path=/Users/me/Code/ios/build/ModuleCache -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/me/Code/ios/build/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 -O0 -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 -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 -DDEBUG=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mios-simulator-version-min=8.2 -g -Wno-sign-conversion -Wno-infinite-recursion -fobjc-abi-version=2 -fobjc-legacy-dispatch -iquote /Users/me/Code/ios/build/Build/Intermediates/RNCamera.build/Debug-iphonesimulator/RNCamera.build/RNCamera-generated-files.hmap -I/Users/me/Code/ios/build/Build/Intermediates/RNCamera.build/Debug-iphonesimulator/RNCamera.build/RNCamera-own-target-headers.hmap -I/Users/me/Code/ios/build/Build/Intermediates/RNCamera.build/Debug-iphonesimulator/RNCamera.build/RNCamera-all-target-headers.hmap -iquote /Users/me/Code/ios/build/Build/Intermediates/RNCamera.build/Debug-iphonesimulator/RNCamera.build/RNCamera-project-headers.hmap -I/Users/me/Code/ios/build/Build/Products/Debug-iphonesimulator/include -I../../../ios -I../../../ios/build -I../../../ios/template -I../../../ios/template-tvOS -I../../../ios/template-tvOSTests -I../../../ios/templateTests -I../../../ios/build/Build -I../../../ios/build/Logs -I../../../ios/build/Logs/Build -I/Users/me/Code/ios/build/Build/Intermediates/RNCamera.build/Debug-iphonesimulator/RNCamera.build/DerivedSources/x86_64 -I/Users/me/Code/ios/build/Build/Intermediates/RNCamera.build/Debug-iphonesimulator/RNCamera.build/DerivedSources -F/Users/me/Code/ios/build/Build/Products/Debug-iphonesimulator -F/Users/me/Code/ios/build/Build/Products/Debug-iphonesimulator -F/Users/me/Code/ios/build/Build/Products/Debug-iphonesimulator/include -F/Users/me/Code/ios/build/Build/Products/Debug-iphonesimulator/template.app -F/Users/me/Code/ios/build/Build/Products/Debug-iphonesimulator/template.app.dSYM -F/Users/me/Code/ios/build/Build/Products/Debug-iphonesimulator/templateTests.xctest.dSYM -F/Users/me/Code/ios/build/Build/Products/Debug-iphonesimulator/include/cxxreact -F/Users/me/Code/ios/build/Build/Products/Debug-iphonesimulator/include/double-conversion -F/Users/me/Code/ios/build/Build/Products/Debug-iphonesimulator/include/fishhook -F/Users/me/Code/ios/build/Build/Products/Debug-iphonesimulator/include/jschelpers -F/Users/me/Code/ios/build/Build/Products/Debug-iphonesimulator/include/jsinspector -F/Users/me/Code/ios/build/Build/Products/Debug-iphonesimulator/include/privatedata -F/Users/me/Code/ios/build/Build/Products/Debug-iphonesimulator/include/RCTAnimation -F/Users/me/Code/ios/build/Build/Products/Debug-iphonesimulator/include/RCTBlob -F/Users/me/Code/ios/build/Build/Products/Debug-iphonesimulator/include/RCTImage -F/Users/me/Code/ios/build/Build/Products/Debug-iphonesimulator/include/RCTText -F/Users/me/Code/ios/build/Build/Products/Debug-iphonesimulator/include/React -F/Users/me/Code/ios/build/Build/Products/Debug-iphonesimulator/include/yoga -F/Users/me/Code/ios/build/Build/Products/Debug-iphonesimulator/template.app/_CodeSignature -F/Users/me/Code/ios/build/Build/Products/Debug-iphonesimulator/template.app/Frameworks -F/Users/me/Code/ios/build/Build/Products/Debug-iphonesimulator/template.app/PlugIns -F/Users/me/Code/ios/build/Build/Products/Debug-iphonesimulator/template.app.dSYM/Contents -F/Users/me/Code/ios/build/Build/Products/Debug-iphonesimulator/templateTests.xctest.dSYM/Contents -F/Users/me/Code/ios/build/Build/Products/Debug-iphonesimulator/template.app/PlugIns/templateTests.xctest -F/Users/me/Code/ios/build/Build/Products/Debug-iphonesimulator/template.app.dSYM/Contents/Resources -F/Users/me/Code/ios/build/Build/Products/Debug-iphonesimulator/templateTests.xctest.dSYM/Contents/Resources -F/Users/me/Code/ios/build/Build/Products/Debug-iphonesimulator/template.app/PlugIns/templateTests.xctest/_CodeSignature -F/Users/me/Code/ios/build/Build/Products/Debug-iphonesimulator/template.app.dSYM/Contents/Resources/DWARF -F/Users/me/Code/ios/build/Build/Products/Debug-iphonesimulator/templateTests.xctest.dSYM/Contents/Resources/DWARF -F../../../ios -F../../../ios/build -F../../../ios/template -F../../../ios/template-tvOS -F../../../ios/template-tvOSTests -F../../../ios/templateTests -F../../../ios/build/Build -F../../../ios/build/Logs -F../../../ios/build/Logs/Build -MMD -MT dependencies -MF /Users/me/Code/ios/build/Build/Intermediates/RNCamera.build/Debug-iphonesimulator/RNCamera.build/Objects-normal/x86_64/RNCameraUtils.d --serialize-diagnostics /Users/me/Code/ios/build/Build/Intermediates/RNCamera.build/Debug-iphonesimulator/RNCamera.build/Objects-normal/x86_64/RNCameraUtils.dia -c /Users/me/Code/node_modules/react-native-camera/ios/RN/RNCameraUtils.m -o /Users/me/Code/ios/build/Build/Intermediates/RNCamera.build/Debug-iphonesimulator/RNCamera.build/Objects-normal/x86_64/RNCameraUtils.o\r\n/Users/me/Code/node_modules/react-native-camera/ios/RN/RNCameraUtils.m:14:43: error: expected a type\r\n+ (AVCaptureDevice *)deviceWithMediaType:(AVMediaType)mediaType preferringPosition:(AVCaptureDevicePosition)position\r\n                                          ^\r\n1 error generated.\r\n\r\n\r\n** BUILD FAILED **\r\n\r\n\r\nThe following build commands failed:\r\n  CompileC /Users/me/Code/ios/build/Build/Intermediates/RNCamera.build/Debug-iphonesimulator/RNCamera.build/Objects-normal/x86_64/RNCameraUtils.o RN/RNCameraUtils.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler\r\n(1 failure)\r\n```\r\n\r\n### Environment\r\n- **Node.js version**: 9.5.0\r\n- **React Native version**: 0.53.0\r\n- **React Native platform + platform version**: Simulator iOS 9.3, iPhone 6\r\n\r\n### react-native-camera\r\n**Version**: master (today)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/react-native-community/react-native-camera/issues/comments/365681547","html_url":"https://github.com/react-native-community/react-native-camera/issues/1231#issuecomment-365681547","issue_url":"https://api.github.com/repos/react-native-community/react-native-camera/issues/1231","id":365681547,"user":{"login":"chmielot","id":380087,"avatar_url":"https://avatars1.githubusercontent.com/u/380087?v=4","gravatar_id":"","url":"https://api.github.com/users/chmielot","html_url":"https://github.com/chmielot","followers_url":"https://api.github.com/users/chmielot/followers","following_url":"https://api.github.com/users/chmielot/following{/other_user}","gists_url":"https://api.github.com/users/chmielot/gists{/gist_id}","starred_url":"https://api.github.com/users/chmielot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chmielot/subscriptions","organizations_url":"https://api.github.com/users/chmielot/orgs","repos_url":"https://api.github.com/users/chmielot/repos","events_url":"https://api.github.com/users/chmielot/events{/privacy}","received_events_url":"https://api.github.com/users/chmielot/received_events","type":"User","site_admin":false},"created_at":"2018-02-14T17:24:45Z","updated_at":"2018-02-14T17:24:45Z","author_association":"NONE","body":"@jgfidelis I reverted everything back to a working version with react-native-camera 0.12.0.\r\nFrom there I updated to the branch you gave me by setting this in `package.json` and calling `npm install react-native-camera`. After that I followed the migration guide again, made sure that `FaceDetection` does not exist in the Libraries, cleaned the build and ran `react-native run-ios`. Unfortunately I still got the error:\r\n\r\n```\r\nCompileC /Users/cht/Code/template/ios/build/Build/Intermediates/RNCamera.build/Debug-iphonesimulator/RNCamera.build/Objects-normal/x86_64/RNCameraManager.o RN/RNCameraManager.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler\r\n    cd /Users/cht/Code/template/node_modules/react-native-camera/ios\r\n    export LANG=en_US.US-ASCII\r\n    export PATH=\"/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/MacGPG2/bin:/Users/cht/Library/Android/sdk/tools:/Users/cht/Library/Android/sdk/platform-tools\"\r\n    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -fmodules-cache-path=/Users/cht/Code/template/ios/build/ModuleCache -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/cht/Code/template/ios/build/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 -O0 -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 -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 -DDEBUG=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mios-simulator-version-min=8.2 -g -Wno-sign-conversion -Wno-infinite-recursion -fobjc-abi-version=2 -fobjc-legacy-dispatch -iquote /Users/cht/Code/template/ios/build/Build/Intermediates/RNCamera.build/Debug-iphonesimulator/RNCamera.build/RNCamera-generated-files.hmap -I/Users/cht/Code/template/ios/build/Build/Intermediates/RNCamera.build/Debug-iphonesimulator/RNCamera.build/RNCamera-own-target-headers.hmap -I/Users/cht/Code/template/ios/build/Build/Intermediates/RNCamera.build/Debug-iphonesimulator/RNCamera.build/RNCamera-all-target-headers.hmap -iquote /Users/cht/Code/template/ios/build/Build/Intermediates/RNCamera.build/Debug-iphonesimulator/RNCamera.build/RNCamera-project-headers.hmap -I/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator/include -I../../../ios -I../../../ios/build -I../../../ios/template -I../../../ios/template-tvOS -I../../../ios/template-tvOSTests -I../../../ios/templateTests -I../../../ios/build/Build -I../../../ios/build/Logs -I../../../ios/build/Logs/Build -I/Users/cht/Code/template/ios/build/Build/Intermediates/RNCamera.build/Debug-iphonesimulator/RNCamera.build/DerivedSources/x86_64 -I/Users/cht/Code/template/ios/build/Build/Intermediates/RNCamera.build/Debug-iphonesimulator/RNCamera.build/DerivedSources -F/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator -F/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator -F/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator/include -F/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator/template.app -F/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator/template.app.dSYM -F/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator/templateTests.xctest.dSYM -F/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator/include/cxxreact -F/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator/include/double-conversion -F/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator/include/fishhook -F/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator/include/jschelpers -F/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator/include/jsinspector -F/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator/include/privatedata -F/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator/include/RCTAnimation -F/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator/include/RCTBlob -F/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator/include/RCTImage -F/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator/include/RCTText -F/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator/include/React -F/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator/include/yoga -F/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator/template.app/_CodeSignature -F/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator/template.app/Frameworks -F/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator/template.app/PlugIns -F/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator/template.app.dSYM/Contents -F/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator/templateTests.xctest.dSYM/Contents -F/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator/template.app/PlugIns/templateTests.xctest -F/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator/template.app.dSYM/Contents/Resources -F/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator/templateTests.xctest.dSYM/Contents/Resources -F/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator/template.app/PlugIns/templateTests.xctest/_CodeSignature -F/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator/template.app.dSYM/Contents/Resources/DWARF -F/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator/templateTests.xctest.dSYM/Contents/Resources/DWARF -F../../../ios -F../../../ios/build -F../../../ios/template -F../../../ios/template-tvOS -F../../../ios/template-tvOSTests -F../../../ios/templateTests -F../../../ios/build/Build -F../../../ios/build/Logs -F../../../ios/build/Logs/Build -MMD -MT dependencies -MF /Users/cht/Code/template/ios/build/Build/Intermediates/RNCamera.build/Debug-iphonesimulator/RNCamera.build/Objects-normal/x86_64/RNCameraManager.d --serialize-diagnostics /Users/cht/Code/template/ios/build/Build/Intermediates/RNCamera.build/Debug-iphonesimulator/RNCamera.build/Objects-normal/x86_64/RNCameraManager.dia -c /Users/cht/Code/template/node_modules/react-native-camera/ios/RN/RNCameraManager.m -o /Users/cht/Code/template/ios/build/Build/Intermediates/RNCamera.build/Debug-iphonesimulator/RNCamera.build/Objects-normal/x86_64/RNCameraManager.o\r\n\r\n\r\nCompileC /Users/cht/Code/template/ios/build/Build/Intermediates/RNCamera.build/Debug-iphonesimulator/RNCamera.build/Objects-normal/x86_64/RNCameraUtils.o RN/RNCameraUtils.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler\r\n    cd /Users/cht/Code/template/node_modules/react-native-camera/ios\r\n    export LANG=en_US.US-ASCII\r\n    export PATH=\"/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/MacGPG2/bin:/Users/cht/Library/Android/sdk/tools:/Users/cht/Library/Android/sdk/platform-tools\"\r\n    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -fmodules-cache-path=/Users/cht/Code/template/ios/build/ModuleCache -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/cht/Code/template/ios/build/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 -O0 -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 -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 -DDEBUG=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mios-simulator-version-min=8.2 -g -Wno-sign-conversion -Wno-infinite-recursion -fobjc-abi-version=2 -fobjc-legacy-dispatch -iquote /Users/cht/Code/template/ios/build/Build/Intermediates/RNCamera.build/Debug-iphonesimulator/RNCamera.build/RNCamera-generated-files.hmap -I/Users/cht/Code/template/ios/build/Build/Intermediates/RNCamera.build/Debug-iphonesimulator/RNCamera.build/RNCamera-own-target-headers.hmap -I/Users/cht/Code/template/ios/build/Build/Intermediates/RNCamera.build/Debug-iphonesimulator/RNCamera.build/RNCamera-all-target-headers.hmap -iquote /Users/cht/Code/template/ios/build/Build/Intermediates/RNCamera.build/Debug-iphonesimulator/RNCamera.build/RNCamera-project-headers.hmap -I/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator/include -I../../../ios -I../../../ios/build -I../../../ios/template -I../../../ios/template-tvOS -I../../../ios/template-tvOSTests -I../../../ios/templateTests -I../../../ios/build/Build -I../../../ios/build/Logs -I../../../ios/build/Logs/Build -I/Users/cht/Code/template/ios/build/Build/Intermediates/RNCamera.build/Debug-iphonesimulator/RNCamera.build/DerivedSources/x86_64 -I/Users/cht/Code/template/ios/build/Build/Intermediates/RNCamera.build/Debug-iphonesimulator/RNCamera.build/DerivedSources -F/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator -F/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator -F/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator/include -F/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator/template.app -F/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator/template.app.dSYM -F/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator/templateTests.xctest.dSYM -F/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator/include/cxxreact -F/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator/include/double-conversion -F/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator/include/fishhook -F/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator/include/jschelpers -F/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator/include/jsinspector -F/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator/include/privatedata -F/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator/include/RCTAnimation -F/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator/include/RCTBlob -F/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator/include/RCTImage -F/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator/include/RCTText -F/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator/include/React -F/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator/include/yoga -F/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator/template.app/_CodeSignature -F/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator/template.app/Frameworks -F/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator/template.app/PlugIns -F/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator/template.app.dSYM/Contents -F/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator/templateTests.xctest.dSYM/Contents -F/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator/template.app/PlugIns/templateTests.xctest -F/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator/template.app.dSYM/Contents/Resources -F/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator/templateTests.xctest.dSYM/Contents/Resources -F/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator/template.app/PlugIns/templateTests.xctest/_CodeSignature -F/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator/template.app.dSYM/Contents/Resources/DWARF -F/Users/cht/Code/template/ios/build/Build/Products/Debug-iphonesimulator/templateTests.xctest.dSYM/Contents/Resources/DWARF -F../../../ios -F../../../ios/build -F../../../ios/template -F../../../ios/template-tvOS -F../../../ios/template-tvOSTests -F../../../ios/templateTests -F../../../ios/build/Build -F../../../ios/build/Logs -F../../../ios/build/Logs/Build -MMD -MT dependencies -MF /Users/cht/Code/template/ios/build/Build/Intermediates/RNCamera.build/Debug-iphonesimulator/RNCamera.build/Objects-normal/x86_64/RNCameraUtils.d --serialize-diagnostics /Users/cht/Code/template/ios/build/Build/Intermediates/RNCamera.build/Debug-iphonesimulator/RNCamera.build/Objects-normal/x86_64/RNCameraUtils.dia -c /Users/cht/Code/template/node_modules/react-native-camera/ios/RN/RNCameraUtils.m -o /Users/cht/Code/template/ios/build/Build/Intermediates/RNCamera.build/Debug-iphonesimulator/RNCamera.build/Objects-normal/x86_64/RNCameraUtils.o\r\n/Users/cht/Code/template/node_modules/react-native-camera/ios/RN/RNCameraUtils.m:14:43: error: expected a type\r\n+ (AVCaptureDevice *)deviceWithMediaType:(AVMediaType)mediaType preferringPosition:(AVCaptureDevicePosition)position\r\n                                          ^\r\n1 error generated.\r\n\r\n\r\n** BUILD FAILED **\r\n\r\n\r\nThe following build commands failed:\r\n    CompileC /Users/cht/Code/template/ios/build/Build/Intermediates/RNCamera.build/Debug-iphonesimulator/RNCamera.build/Objects-normal/x86_64/RNCameraUtils.o RN/RNCameraUtils.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler\r\n(1 failure)\r\n``` "}}
{"actor":{"display_login":"chmielot"}}