You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems like "IPHONEOS_DEPLOYMENT_TARGET" is not properly parsed and set in project.pbxproj.
Currently I managed to fix this by parsing the podfile for "platform :ios," during the after-prepared hook and specifically ensuring that commented lines are ignored.
Take this : platform :ios, 13
Not this :
# platform :ios, 12
This finally fixed my problem. I suspect that a similar strategy is used to update project.pbxproj but the parsing is not considering "#"
Reproduction
To reproduce this bug, you need to have a plugin installed that its target ios version is 12.0 and another plugin with its target ios version is 13.0.
In my case
@nativescript-community/ui-mapbox was requiring 13.0
@nativescript/firebase-analytics was requiring 12.0
This is a subtle bug but because of that, ou app was made available to user with device that wont work on app store.
You can obviously simply fix this bug in xcode by manually fixing the version but this is not fool proof for our team.
Relevant log output (if applicable)
No response
Environment
OS: macOS 13.1CPU: (10) arm64 Apple M1 MaxShell: /bin/zshnode: 18.15.0npm: 9.5.0nativescript: 8.5.3# androidjava: 11.0.11ndk: Not Foundapis: 19, 28, 29, 30, 31, 32, 33build_tools: 28.0.0, 28.0.1, 28.0.2, 28.0.3, 29.0.0, 29.0.1, 29.0.2, 29.0.3, 30.0.0, 30.0.1, 30.0.2, 30.0.3, 31.0.0, 32.0.0, 32.1.0, 33.0.0system_images:
- android-19 | Google APIs ARM EABI v7a
- android-21 | Google APIs ARM 64 v8a
- android-22 | Google APIs Intel x86 Atom
- android-28 | Android TV Intel x86 Atom
- android-28 | China version of Wear OS Intel x86 Atom
- android-28 | Wear OS Intel x86 Atom
- android-28 | ARM 64 v8a
- android-28 | Intel x86 Atom
- android-28 | Intel x86 Atom_64
- android-28 | Google APIs ARM 64 v8a
- android-28 | Google APIs Intel x86 Atom
- android-28 | Google APIs Intel x86 Atom_64
- android-28 | Google ARM64-V8a Play ARM 64 v8a
- android-28 | Google Play Intel x86 Atom
- android-28 | Google Play Intel x86 Atom_64
- android-32 | Google APIs ARM 64 v8a
- android-32 | Google APIs Intel x86 Atom_64
- android-32 | Google Play ARM 64 v8a
- android-32 | Google Play Intel x86 Atom_64
- android-33 | Google APIs ARM 64 v8a
- android-33 | Google APIs Intel x86 Atom_64
- android-33 | Google Play ARM 64 v8a
- android-33 | Google Play Intel x86 Atom_64
- android-Tiramisu | Android TV ARM 64 v8a
- android-Tiramisu | Google TV ARM 64 v8a
- android-Tiramisu | Google TV Intel x86 Atom
- android-TiramisuPrivacySandbox | Google Play ARM 64 v8a
- android-TiramisuPrivacySandbox | Google Play Intel x86 Atom_64# iosxcode: 14.3.1/14E300ccocoapods: 1.12.1python: 3.11.4python3: 3.11.4ruby: 2.6.10platforms:
- DriverKit 22.4
- iOS 16.4
- macOS 13.3
- tvOS 16.4
- watchOS 9.4
Issue Description
It seems like "IPHONEOS_DEPLOYMENT_TARGET" is not properly parsed and set in project.pbxproj.
Currently I managed to fix this by parsing the podfile for "platform :ios," during the after-prepared hook and specifically ensuring that commented lines are ignored.
Take this :
platform :ios, 13
Not this :
# platform :ios, 12
This finally fixed my problem. I suspect that a similar strategy is used to update project.pbxproj but the parsing is not considering "#"
Reproduction
To reproduce this bug, you need to have a plugin installed that its target ios version is 12.0 and another plugin with its target ios version is 13.0.
In my case
@nativescript-community/ui-mapbox was requiring 13.0
@nativescript/firebase-analytics was requiring 12.0
This is a subtle bug but because of that, ou app was made available to user with device that wont work on app store.
You can obviously simply fix this bug in xcode by manually fixing the version but this is not fool proof for our team.
Relevant log output (if applicable)
No response
Environment
Dependencies
Please accept these terms
The text was updated successfully, but these errors were encountered: