0、在打包之前需要编译bundle到对应文件夹(打包ios),在AppDelegate.m中修改jsCodeLocation的值为:
jsCodeLocation = [[NSBundle mainBundle] URLForResource:@"index.ios" withExtension:@"jsbundle"];
1. linker command failed with exit code 1
解决方案:找到buildsettings 下的Enable Bitcode 的值改成no
网友评论