There is a problem when adding it to an iOS project with watchOS.

Open
#128 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
ios, swift
Domain
mobile-dev

Research direction

Start by reproducing the reported setup: add CodeScanner only to an iOS project that also has a watchOS target, then run the watchOS preview in Xcode. Compare the preview errors with the stated behavior on a real Apple Watch and simulator. Done means the package can remain in the iOS target without producing watchOS preview errors, or the compatibility limitation is documented.

Written by the indexing model from the issue text.

Description

bug

Hello, I'm an Entry-level independent developer.This is the first time I submit new issue. Please understand if the description is not clear enough. It may not be your problem, but I'd better give you feedback.

I have an iOS project with watchOS that needs to use CodeScanner. If I only import this package into the iOS version, there will be lots of errors when running watchOS preview.
截屏2024-02-12 20 12 08

Xcode automatically adds the package to watchOS.But it's no problem to run on the real Apple Watch and Apple Watch simulator. Please refer to the picture for specific performance.

截屏2024-02-12 20 12 20
截屏2024-02-12 20 12 31

Dominant language
Swift
Stars
1.2k
Forks
328
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

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.

More from twostraws/CodeScanner

All issues in twostraws/CodeScanner

Similar issues

More Swift issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.