@nativescript/ios 8.7.0 → 8.7.1-next.2024-04-26-8854594596

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Binary file
@@ -152,10 +152,11 @@ def generate_metadata(arch):
152
152
  deployment_target_flag_name + "=" + deployment_target])
153
153
  else:
154
154
  generator_call.extend(["-target", "{}-{}-{}{}".format(arch, llvm_target_triple_vendor, llvm_target_triple_os_version, llvm_target_triple_suffix)])
155
- # since iPhoneOS 17.4 sdk TARGET_OS_IPHONE is not defined for non-simulator builds
155
+ # since iPhoneOS 17.4 sdk TARGET_OS_IPHONE and TARGET_OS_IOS is not defined for non-simulator builds
156
156
  # this seems to be a bug on Apple's side
157
157
  if effective_platform_name == "-iphoneos" and not llvm_target_triple_suffix:
158
158
  generator_call.extend(["-DTARGET_OS_IPHONE=1"])
159
+ generator_call.extend(["-DTARGET_OS_IOS=1"])
159
160
 
160
161
  generator_call.extend(header_search_paths_parsed) # HEADER_SEARCH_PATHS
161
162
  generator_call.extend(framework_search_paths_parsed) # FRAMEWORK_SEARCH_PATHS
@@ -152,10 +152,11 @@ def generate_metadata(arch):
152
152
  deployment_target_flag_name + "=" + deployment_target])
153
153
  else:
154
154
  generator_call.extend(["-target", "{}-{}-{}{}".format(arch, llvm_target_triple_vendor, llvm_target_triple_os_version, llvm_target_triple_suffix)])
155
- # since iPhoneOS 17.4 sdk TARGET_OS_IPHONE is not defined for non-simulator builds
155
+ # since iPhoneOS 17.4 sdk TARGET_OS_IPHONE and TARGET_OS_IOS is not defined for non-simulator builds
156
156
  # this seems to be a bug on Apple's side
157
157
  if effective_platform_name == "-iphoneos" and not llvm_target_triple_suffix:
158
158
  generator_call.extend(["-DTARGET_OS_IPHONE=1"])
159
+ generator_call.extend(["-DTARGET_OS_IOS=1"])
159
160
 
160
161
  generator_call.extend(header_search_paths_parsed) # HEADER_SEARCH_PATHS
161
162
  generator_call.extend(framework_search_paths_parsed) # FRAMEWORK_SEARCH_PATHS
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nativescript/ios",
3
3
  "description": "NativeScript Runtime for iOS",
4
- "version": "8.7.0",
4
+ "version": "8.7.1-next.2024-04-26-8854594596",
5
5
  "keywords": [
6
6
  "NativeScript",
7
7
  "iOS",