You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dear Developer,
We identified one or more issues with a recent delivery for your app, "***-生活特权平台" 1.0 (1). Please correct the following issues, then upload again.
ITMS-90683: Missing Purpose String in Info.plist - Your app's code references one or more APIs that access sensitive user data. The app's Info.plist file should contain a NSPhotoLibraryUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. Starting Spring 2019, all apps submitted to the App Store that access user data are required to include a purpose string. If you're using external libraries or SDKs, they may reference APIs that require a purpose string. While your app might not use these APIs, a purpose string is still required. You can contact the developer of the library or SDK and request they release a version of their code that doesn't contain the APIs. Learn more (https://developer.apple.com/documentation/uikit/core_app/protecting_the_user_s_privacy).
Though you are not required to fix the following issues, we wanted to make you aware of them:
ITMS-90683: Missing Purpose String in Info.plist - Your app's code references one or more APIs that access sensitive user data. The app's Info.plist file should contain a NSLocationAlwaysUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. Starting Spring 2019, all apps submitted to the App Store that access user data are required to include a purpose string. If you're using external libraries or SDKs, they may reference APIs that require a purpose string. While your app might not use these APIs, a purpose string is still required. You can contact the developer of the library or SDK and request they release a version of their code that doesn't contain the APIs. Learn more (https://developer.apple.com/documentation/uikit/core_app/protecting_the_user_s_privacy).
ITMS-90683: Missing Purpose String in Info.plist - Your app's code references one or more APIs that access sensitive user data. The app's Info.plist file should contain a NSLocationWhenInUseUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. Starting Spring 2019, all apps submitted to the App Store that access user data are required to include a purpose string. If you're using external libraries or SDKs, they may reference APIs that require a purpose string. While your app might not use these APIs, a purpose string is still required. You can contact the developer of the library or SDK and request they release a version of their code that doesn't contain the APIs. Learn more (https://developer.apple.com/documentation/uikit/core_app/protecting_the_user_s_privacy).
8 iTunes Store operation failed. This bundle is invalid. The value for key CFBundleShortVersionString [1.0.0] in the Info.plist file must contain a higher version than that of the previously approved version [1.0.0].
1 开发者账号
2 Xcode
这应该是苹果上线最基本的保障, 那么在上线过程中遇到一些问题汇总一下:
问题一: 这是提交到 App connect 中时,反馈回来邮件
主要是一些访问权限的问题,需要在 info.plist 中添加一下,以及添加配置. 常见的添加内容如下
3 error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods
解决方案:
4 grep -r advertisingIdentifier .
grep -r advertisingIdentifier .
复制到相应工程目录下执行. 切记后面.
是必须的主要在苹果提交审核时,有提示是否使用 IDFA ,如果有使用就要说明作了什么用途,否则存在你选了否就会把这个二进制文件删了并不会再允许该二进制文件上传
5 Command PhaseScriptExecution failed with a nonzero exit code
Xcode菜单栏选择File-- Workspace Setting,把new build system(Defalt)切换到 Legacy Build System 在模拟器上运行就OK!
6 Could not locate device support files
问题地址
主要是版本不一致时出现这个问题,真机调试和xcode版本(xcode不同版本支持调试设备版本也不一样)
7 iOS项目真机运行时提示 Development cannot be enabled while your device is locked
问题方案
8 iTunes Store operation failed. This bundle is invalid. The value for key CFBundleShortVersionString [1.0.0] in the Info.plist file must contain a higher version than that of the previously approved version [1.0.0].
提示上传版本必须大于应用商店中的版本,修改版本后即可
9 Failing to archive the app with xCode: path_provider/PathProviderPlugin.h file not found
问题 flutter issues
首先先执行
flutter build ios
在Xcode打开
ios/Runner.xcworkspace
文件,而不是ios/Runner.xcodeproj
文件10 flutter Could not find the built application bundle at build/ios/iphonesimulator/Runner.app
修改
info.plist
和display name
改成一样的再尝试着运行即可成功.11 如何通过夜神模拟器来预览 flutter 应用:
12 Check failed: android_surface_. Could not create an OpenGL, Vulkan or Software surface to setup rendering.
13 Cannot provide both a color and a decoration
14 Flutter TextField 不能直接放到 Row 里面
报错信息 :BoxConstraints forces an infinite width.
错误用法
使用 Expanded 包裹 TextField
升级版本时遇到的一个问题
具体解决方案:
在flutter开发中ListView嵌套ListView时,俩个ListView都会滚动,而不是一个整体,只需要设置子组件不滚动,并设置高度就可以解决这个问题
Flutter 中 RowButton 间距问题的解决方案
1 自定义Button ,通过 inkwell 处理点击事件
2 通过 ButtonTheme 来更改
3 通过 给 Row 中的Button添加 Expand
The text was updated successfully, but these errors were encountered: