分离的 Expo 应用程序在 IOS TestFlight 上出错
Detached Expo app gets error on IOS TestFlight
我有一个独立的应用程序,当我 运行 xcode 时,它在我的本地运行良好,但是当我为 TestFlight 部署它时,我在加载时遇到这个 expo 版本错误。
The experience you requested uses Expo SDK v25.0.0, but this copy of Expo Client requires at least v29.0.0. The author should update their experience to a newer Expo SDK version
Error Image
这是我的 EXSDKVersions.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>detachedNativeVersions</key>
<dict>
<key>kernel</key>
<string>29.0.0</string>
<key>shell</key>
<string>29.0.0</string>
</dict>
<key>sdkVersions</key>
<array>
<string>29.0.0</string>
</array>
</dict>
</plist>
我不知道确切原因,但以下内容对我有所帮助
1) rm -rf node_modules && npm install
2) go to ios folder
3) rm -rf Pods Podfile.lock build && pod install
我有一个独立的应用程序,当我 运行 xcode 时,它在我的本地运行良好,但是当我为 TestFlight 部署它时,我在加载时遇到这个 expo 版本错误。
The experience you requested uses Expo SDK v25.0.0, but this copy of Expo Client requires at least v29.0.0. The author should update their experience to a newer Expo SDK version
Error Image
这是我的 EXSDKVersions.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>detachedNativeVersions</key>
<dict>
<key>kernel</key>
<string>29.0.0</string>
<key>shell</key>
<string>29.0.0</string>
</dict>
<key>sdkVersions</key>
<array>
<string>29.0.0</string>
</array>
</dict>
</plist>
我不知道确切原因,但以下内容对我有所帮助
1) rm -rf node_modules && npm install
2) go to ios folder
3) rm -rf Pods Podfile.lock build && pod install