何を達成するか。
TestFlight に送信できるように、iOS リリース用の反応ネイティブ アプリをビルドする
私がしたこと。
- ドキュメントを読む
- リリース用にビルドするようにスキームを変更します(本番)
- 製品> アーカイブを実行しました。
- 次の場合に失敗します。
'React/RCTBridgeModule.h' file not found
知っておくべきその他のこと。このプロジェクトは Cocoapods を使用しており、これはポッド ファイルです。
target 'surfpass_app_rx' do
pod 'React', :path => '../node_modules/react-native'
pod 'yoga', :path => '../node_modules/react-native/ReactCommon/yoga'
pod 'react-native-webview', :path => '../node_modules/react-native-webview'
pod 'RNVectorIcons', :path => '../node_modules/react-native-vector-icons'
pod 'Firebase/Core', '5.15.0'
pod 'Fabric', '1.9.0'
pod 'Crashlytics', '3.12.0'
pod 'Firebase/RemoteConfig', '5.15.0'
pod 'Firebase/Messaging', '5.15.0'
pod 'GoogleSignIn', '4.4.0'
target 'surfpass_app_rxTests' do
inherit! :search_paths
# Pods for testing
end
end
post_install do |installer|
installer.pods_project.targets.each do |target|
if target.name == "React"
target.remove_from_project
end
end
end
ここでの問題は、アプリはデバッグには問題なくビルドできますが、リリースには問題ありません。他のターゲットがありましたが、今は 1 つのターゲットしかなく、まだ失敗しています。