🔨

My impressions of Xcode Cloud for iOS (personal develeopment)

2023/02/01に公開

This article is in English the below link article.
https://qiita.com/tanakadaichi_1989/items/a39db2046fc4a4fd57b1

What to write in this article

  • I introduced Xcode Cloud with iOS app development(below app). I wrote how to feel it.

iOS App (personal development)
https://apps.apple.com/us/app/thmeter/id1663445896

Precondition

When main branch of below is changed, Xcode Cloud will build this app automatically and up it to App Store Connect.
https://github.com/tanakadaichi1989/Thermometer-Hygrometer

My Impression

Advantages

  • It's very convenient not to have to manually set the build number > clean > build > archive > upload to App Store Connect.

Points requiring attention

  • When using Xcode Cloud to build an app that uses Swift Package Manager to install libraries, do include the following files from tracking by .gitignore.
*.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
  • The build number of an iOS app built using Xcode Cloud and uploaded to App Store Connect is different from the number set in Xcode.
  • If you want to make the build numbers of apps that have already been uploaded to App Store Connect consecutive, you must edit Settings > Build Number > Next Build Number (image below).
    スクリーンショット 2023-01-14 5.10.36.png

Reference

https://developer.apple.com/jp/xcode-cloud/

Discussion

ログインするとコメントできます