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

Launch Issue with macOS Ventura + Xcode 14 + iOS 16 Simulator #337

Closed
roblabs opened this issue Jun 17, 2022 · 5 comments
Closed

Launch Issue with macOS Ventura + Xcode 14 + iOS 16 Simulator #337

roblabs opened this issue Jun 17, 2022 · 5 comments
Labels
build Related to build, configuration or CI/CD good first issue Good for newcomers iOS

Comments

@roblabs
Copy link
Collaborator

roblabs commented Jun 17, 2022

Results from building MapLibre for iOS on macOS Ventura/Xcode 14 & inspired by a comment from @username0x0a, (🎩tip).

with Xcode 14 & iOS 16 Simulator, I'm getting an instant crash on launch. See details: #268 (comment)


As of now, I only have macOS Ventura running on a M1. This issue would need to be verified on x86_64.

sw_vers
# ProductName:	macOS
# ProductVersion:	13.0
# BuildVersion:	22A5266r

uname -a
# Darwin m1.local 22.0.0 Darwin Kernel Version 22.0.0: Tue May 24 20:30:32 PDT 2022; 
# root:xnu-8792.0.50.111.3~5/RELEASE_ARM64_T8103 arm64

xcodebuild -version
# Xcode 14.0
# Build version 14A5228q

Xcode 14 + iOS 16 Simulator

image


Xcode 14 + iOS 16 Simulator has several deprecations

image

@roblabs roblabs added good first issue Good for newcomers build Related to build, configuration or CI/CD iOS labels Jun 17, 2022
@roblabs
Copy link
Collaborator Author

roblabs commented Jul 13, 2022

An update on testing MapLibre for iOS with latest macOS Ventura (13.0 Beta (22A5295i)) on Apple Silicon (M1 Mac).

  • The instant crash found earlier is now fixed.
  • The C++ deprecations seem to have gone away.
  • New: The Open GL subsystem exhibits drawing errors where triangles are missing or slowly drawing. 11 FPS.

image


This screenshot shows the test app running in the arm64 architecture mode from the macOS Activity Monitor. Note Apple in the kind column.

image

You can determine which architecture (Intel or Apple) a process is being run by checking whether a process is run with Rosetta. I do not recommend using Rosetta to run Xcode.

ps -p `fuser /usr/libexec/rosetta/runtime 2> /dev/null`

Build version info:

sw_vers
# ProductName:		macOS
# ProductVersion:	13.0
# BuildVersion:		22A5295i

uname -a
# Darwin m1.local 22.0.0 Darwin Kernel Version 22.0.0: Tue Jun 28 20:48:02 PDT 2022; 
# root:xnu-8792.0.134.131.2~1/RELEASE_ARM64_T8103 arm64

xcodebuild -version
# Xcode 14.0
# Build version 14A5270f

@wipfli
Copy link
Contributor

wipfli commented Jul 21, 2022

Thanks for offering help with testing of simulator crashes on M1 in the Slack channel, @Svantulden. Will ping you when possible...

@roblabs
Copy link
Collaborator Author

roblabs commented Sep 10, 2022

Closing out this research into Ventura Beta + Xcode 14 Beta, as Xcode Version 14.0 RC (14A309) was released on Sep 7, 2022.

Tracking any GL drawing issues at #268

@roblabs roblabs closed this as completed Sep 10, 2022
@chganesh
Copy link

unable to run React native ios app through xcode and real device
Screenshot 2023-03-27 at 5 55 04 PM

xcode version 14.2
Simulator version 14(16.2)
react-native: 0.70.6
Mac Book pro M1 chipset ventura OS

@louwers
Copy link
Collaborator

louwers commented Mar 27, 2023

@maplibre maplibre locked as off-topic and limited conversation to collaborators Mar 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
build Related to build, configuration or CI/CD good first issue Good for newcomers iOS
Projects
None yet
Development

No branches or pull requests

4 participants