Print: Entry, ":CFBundleIde
2018-11-26 本文已影响29人
Metoo丶淡然
Ensure that the application's Info.plist contains a value for CFBundleIdentifier.
Print: Entry, ":CFBundleIdentifier", Does Not Exist
解决方案:
react-native upgrade
但是这个方法很繁琐, 而且可能会冲掉之前手工改掉的很多代码.
真正原因可手工修正:
Info.plist
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
出错的配置
手工替换应改为:
<key>CFBundleIdentifier</key>
<string>org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)</string>