NativeScript / NativeScript/ios

Support for xrOS platform broke Apple Watch embedded apps

Open
#249 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
150
Forks
43
Avg merge
3d 10h
Merged PRs (30d)
22

Description

After the merge of https://github.com/NativeScript/ios/pull/235, if the application has an Apple Watch embedded app, it will broke the compilation.

image

Actually cleaning the Swift-ObjC-Bridging-Header.h file solves the issue. Its currently patched here because I don't know the correct way to fix it.

Platform: v8.7.0
Reverting to v8.6.4 fix the issue.
Commit impacted: https://github.com/NativeScript/ios/commit/bb364f9558c336c43a9c43d3ded46ef1ad8e8bf3

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce compilation with an Apple Watch embedded app on v8.7.0 and compare it with v8.6.4, starting from commit bb364f9558c336c43a9c43d3ded46ef1ad8e8bf3. Inspect how Swift-ObjC-Bridging-Header.h is generated or patched, using the reported cleanup workaround as a clue. Done means the embedded app compiles without manually cleaning that file.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, javascript
Domain
build-system, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.