repack
repack copied to clipboard
release host app to store
when i archive project host_app using xcode, it throw error
File /Users/hongquang/Library/Developer/Xcode/DerivedData/host_app-glaovyogzxtvffgswwzgfvsxngqf/Build/Intermediates.noindex/ArchiveIntermediates/host_app/BuildProductsPath/Release-iphoneos/host_app.app/main.jsbundle does not exist. Your environment is misconfigured as Metro was not able to produce the bundle so your release application won't work!
can you help me?
Hi @HongQuang231,
is your Xcode configured properly, as stated in the docs?
https://re-pack.netlify.app/docs/getting-started#4-configure-xcode
@jbroma yeah, i config xcode same guilde but when I build it thow err look like this
perhaps bundling fails underneath, please verify that this completes successfully:
[pm] run react-native webpack-bundle --platform ios --entry-file index.js --dev=false --bundle-output build/test/ios/main.jsbundle
substitute [pm] with package manager you use
thank, maybe it working with me, so if I build apk or aab file for android, what do I need to do? I don't need to do the same for iOS
thank, maybe it working with me, so if I build apk or aab file for android, what do I need to do? I don't need to do the same for iOS
could you please clarify what you mean?
sorry, it means, I build apk or aab file for android by android studio, what do I need to do ? Is same when I build ios by xcode? can you give me a guideline?
@HongQuang231,
All you have to do is configure Android as in the docs: https://re-pack.netlify.app/docs/getting-started/#5-configure-android
có lẽ việc gói bên dưới không thành công, vui lòng xác minh rằng việc này hoàn tất thành công:
[pm] run react-native webpack-bundle --platform ios --entry-file index.js --dev=false --bundle-output build/test/ios/main.jsbundlethay thế
[pm]bằng trình quản lý gói bạn sử dụng
Hi @jbroma ,
I followed the instructions, ran the above command successfully but when building the ipa file it still has an error: main.jsbundle : invalid expression encountered , can you help me?
@tkgithub03 I'm afraid I won't be able to assist you without providing some kind of reproduction repository.
This issue has been marked as stale because it has been inactive for 30 days. Please update this issue or it will be automatically closed in 14 days.
This issue has been automatically closed because it has been inactive for more than 14 days. Please reopen if you want to add more context.