StoreKit testing will shortly be available in Xcode 12, which requires support for a Configuration.storekit file to be mapped into a scheme.
An overview of the upcoming functionality can be found via this WWDC video.
More specifics available via this Apple Documentation.
I'm going to take a look at implementing this, I'd also like to see XcodeGen handle this 👍
This'll require an update to the underlying XcodeProj dependency to support StoreKitConfigurationFileReference, however I'm running into an issue with Carthage and Xcode 12 when trying to build and tweak XcodeProj :\
@jcolicchio What issue are you seeing ? I'd be happy to take a look also.
~The issue is that we have no way of specifying a scheme's Store Kit Configuration in yaml, so this field always resets on generating the project:~ Oh whoops, this is your issue, of course you know the context :P
In order for XcodeGen to populate this field, we'll need XcodeProj to support encoding and decoding the StoreKitConfigurationFileReference child of the scheme's LaunchAction.
I've got an open PR for XcodeProj, which I think will make the appropriate change to enable us to implement this functionality in XcodeGen: https://github.com/tuist/XcodeProj/pull/573
The issue I was seeing with Carthage was related to Xcode 12 and the lipo command, but I found a fix and I also learned that I needed to run swift package generate-xcodeproj :P
Currently blocked by #965 due to the fact that simulateLocation and storeKitConfiguration both require a relative path that differs depending on whether the project is opened directly vs as part of a .xcworkspace :/
The issue I was seeing with Carthage was related to Xcode 12 and the
lipocommand, but I found a fix and I also learned that I needed to runswift package generate-xcodeproj:P
Nice work figuring that out.
The issue I was seeing with Carthage was related to Xcode 12 and the
lipocommand, but I found a fix and I also learned that I needed to runswift package generate-xcodeproj:PNice work figuring that out.
Literally on the README haha, but who actually reads instructions 🤷♂️
@gemmakbarlow PR is ready for review, hopefully we can support storekit configuration soon 🤞
Awesome work, and thank-you. This is looking 💯.
Review includes some minor suggestions, but none that should block this being merged.
Most helpful comment
@gemmakbarlow PR is ready for review, hopefully we can support storekit configuration soon 🤞