Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xcode 15 build failed: enumerator value evaluates to -16, which cannot be narrowed to type 'NSUInteger' (aka 'unsigned long') #942

Open
ufogxl opened this issue Mar 6, 2024 · 1 comment
Assignees
Labels
apple Affect Apple platforms enhancement New feature or request fixed-on-development Fixed on the development branch. Not released yet. ios Affect iOS platform library Affects the library macos Affect macOS platform tvos Affect tvOS platform v6.0

Comments

@ufogxl
Copy link

ufogxl commented Mar 6, 2024

Description
Error when building with Xcode15.2 in "Level.h",while passes with Xcode14.3.1

Expected behavior

Current behavior
Build Error

To Reproduce

Add iOS dependency with cocoapods then build with real device

Screenshots
Screenshot 2024-03-06 at 13 35 07

Logs
No Log

Environment

  • Platform: iOS
  • Architecture: arm64e
  • Version: v5.1
  • Source branch: release
  • Xcode version: 15.2,Apple Silicon
  • Cocoapods version: 1.15.2

Other
Add any other context about the problem here.

@ufogxl ufogxl changed the title enumerator value evaluates to -16, which cannot be narrowed to type 'NSUInteger' (aka 'unsigned long') Xcode 15 build failed: enumerator value evaluates to -16, which cannot be narrowed to type 'NSUInteger' (aka 'unsigned long') Mar 7, 2024
@tanersener tanersener self-assigned this Apr 17, 2024
@tanersener tanersener added enhancement New feature or request apple Affect Apple platforms macos Affect macOS platform ios Affect iOS platform library Affects the library tvos Affect tvOS platform v6.0 labels Apr 17, 2024
@tanersener
Copy link
Collaborator

Fixed in the development branch.

@tanersener tanersener added the fixed-on-development Fixed on the development branch. Not released yet. label Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
apple Affect Apple platforms enhancement New feature or request fixed-on-development Fixed on the development branch. Not released yet. ios Affect iOS platform library Affects the library macos Affect macOS platform tvos Affect tvOS platform v6.0
Projects
None yet
Development

No branches or pull requests

2 participants