Code Monkey home page Code Monkey logo

Comments (3)

gfmio avatar gfmio commented on June 18, 2024

In terms of the build errors, it seems that some keys were missing from the Info.plist:

Firstly, either WKWatchKitApp or WKApplication needs to be set. WKWatchKitApp is for WatchKit 1 which is not longer supported, WKApplication is for WatchKit 2 and should be set to true.

"WKApplication": true,

Secondly, the manifest needs to be define if the app is watch-only or if it has a companion app and whether it can run independently of it.

If it is stand-alone:

"WKWatchOnly": true

For a companion app:

"WKWatchOnly": false,
"WKRunsIndependentlyOfCompanionApp": true / false,
"WKCompanionAppBundleIdentifier": "io.tuist.TuistExample"

For a companion app, the watchOS app bundle identifier also needs to be prefixed with the companion app's bundle identifier. In this example, the bundle identifier would need to be something like io.tuist.TuistExample.watchosapp.

from tuist.

gfmio avatar gfmio commented on June 18, 2024

Shall I create a PR to integrate those changes into the watchOS project generator?

from tuist.

fortmarek avatar fortmarek commented on June 18, 2024

Shall I create a PR to integrate those changes into the watchOS project generator?

Yes, that would be greatly appreciated 🙏 Let us know if you need any pointers, but your suggestions look like a good way forward.

from tuist.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.