react native ios build troubleshooting
- Xcode 14 build failed with manual code sign and app resource bundles
[AS-IS]
https://github.com/CocoaPods/CocoaPods/issues/11402
[TO-BE]
post_install do |installer|
installer.pods_project.targets.each do |target|
if target.respond_to?(:product_type) and target.product_type == "com.apple.product-type.bundle"
target.build_configurations.each do |config|
config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
end
end
end
end
2.
[AS-IS]
- cannot find the node binary. Try setting the NODE_BINARY variable in the "Bundle React Native code and images" Build Phase to the absolute path to your node binary.
- icu4c
dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.67.dylib
Referenced from: /usr/local/bin/node
Reason: image not found
[TO-BE]
brew upgrade icu4c
brew upgrade
brew cleanup
ln -s $(which node) /usr/local/bin/node
'Develop > iOS' 카테고리의 다른 글
CommandLineTools \ Your Command Line Tools are too outdated. (0) | 2022.04.02 |
---|---|
[iOS] Error could not reparse object file in bitcode bundle: 'Invalid bitcode version (0) | 2021.12.31 |
[iOS] Crash Report - error stacktrace가 안 보일 때🤔 (0) | 2021.09.25 |
[apple] 기기 코드 리스트 / 아이폰 리스트 아이폰 기기 (0) | 2021.09.25 |
댓글