标签 IOS 下的文章

News on August 3 After the release of iOS 14.7.1 last week, Apple has now turned off iOS 14.7 signature verification, which means that if you have installed iOS 14.7.1, you cannot downgrade to iOS 14.7.

 iOS 14.7 signature verification

Apple usually stops the software update verification of the old version after the new version comes out to encourage users to keep their operating system up to date.

iOS 14.7 adds support for MagSafe external batteries and fixes several bugs. iOS 14.7.1 resolves an issue that may prevent Touch ID phones from unlocking the connected Apple Watch.

As iOS 14.7.1 contains important bug fixes, it is recommended that all iOS users upgrade as soon as possible.

在appstoreConnect上建立新版本,版本号与发布的版本号对应一致

https://appstoreconnect.apple.com/
52745-dgo8enyp1p8.png

Xcode打包操作步骤(概要指引):

  1. 版本号和versioncode编号修改到最新
  2. 签名设置好,现选择自动签名,比较方便
  3. build 选Generic ios device
  4. product——scheme——edit scheme ,全部改成release
  5. product——archive 打正式的包
    打包成功后,点击validate进行验证,验证是否能够上传到appstore,如果没问题,则点击“upload to appstore”上传到appstoreconnect

上传成功后,稍等一段时间在构建版本中选择合适的版本进行发布即可
24572-nezo17hzzr.png

提交成功后,就等待审核结果,一般需要1-3天即可审核通过。

xcode10升级后报找不到libstdc++.6.0.9相关问题的解决办法

升级到Xcode10,由于iOS12移除了libstdc++.6.0.9,所以好的办法就是把这个库用libc++替换掉。但是项目中有的第三方的静态库里面使用到了,并且还没来得及修复这个问题,实在是没得什么好办法,所以就暂时把Xcode9中的libstdc++移动到了Xcode10对应目录下,之后再处理了。
具体操作命令,打开终端

cp /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/libstdc++.* /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/

cp /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/libstdc++.* /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/

启动模拟器后报/usr/lib/libstdc++.6.dylib: mach-o, but not built for iOS simulator

dyld: Library not loaded: /usr/lib/libstdc++.6.dylib
  Referenced from: /Users/ygs/Library/Developer/CoreSimulator/Devices/516CEBE8-FB9B-4E64-B4B2-D02685CD7309/data/Containers/Bundle/Application/19732BC1-0D80-416D-A0C4-CCDE254AFE72/Youngs.app/Youngs
  Reason: no suitable image found.  Did find:
    /usr/lib/libstdc++.6.dylib: mach-o, but not built for iOS simulator
Message from debugger: Terminated due to signal 6

解决方法是,还需要拷贝旧Xcode中的/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libstdc++.6.dylib 粘贴到新Xcode同样的位置。(注意在/Profiles/Runtimes/iOS.simruntime这里时需要右键显示包内容)

其它说明

免责声明
本博客部分内容来自于互联网,不代表作者的观点和立场,如若侵犯到您的权益,请联系[email protected]。我们会在24小时内进行删除。