iOS + WatchOS Build: How to automatize?

Hello,

Have an iOS App with (extensionless) Watch App. Watch App is not a stand alone app.

Watch App appears in the "Frameworks, Libraries & Embedded content" section of the iOS App Target.

Nevertheless, I have to manually launch a build of the Watch App before building the iOS app if I want the build to succeed.

Is there a way to automatize build in cascade (at least for release scheme and for "Archiving" ?

Answered by Clem23 in 764537022

Answering myself :D

I forgot to add Watch App as a Target Dependency:

Project > Build Phase > Project Dependency

https://stackoverflow.com/questions/37449354/error-no-such-file-or-directory-while-archiving-ios-and-watchos-app

Accepted Answer

Answering myself :D

I forgot to add Watch App as a Target Dependency:

Project > Build Phase > Project Dependency

https://stackoverflow.com/questions/37449354/error-no-such-file-or-directory-while-archiving-ios-and-watchos-app

iOS + WatchOS Build: How to automatize?
 
 
Q