diff --git a/NativeScript/NativeScript-Prefix.pch b/NativeScript/NativeScript-Prefix.pch index b070729c..e571067f 100644 --- a/NativeScript/NativeScript-Prefix.pch +++ b/NativeScript/NativeScript-Prefix.pch @@ -1,7 +1,7 @@ #ifndef NativeScript_Prefix_pch #define NativeScript_Prefix_pch -#define NATIVESCRIPT_VERSION "8.7.2" +#define NATIVESCRIPT_VERSION "8.7.3" #ifdef DEBUG #define SIZEOF_OFF_T 8 diff --git a/NativeScript/lib/arm64-appletvos/libcppgc_base.a b/NativeScript/lib/arm64-appletvos/libcppgc_base.a new file mode 100644 index 00000000..cb3e6489 Binary files /dev/null and b/NativeScript/lib/arm64-appletvos/libcppgc_base.a differ diff --git a/NativeScript/lib/arm64-appletvos/libcrdtp.a b/NativeScript/lib/arm64-appletvos/libcrdtp.a new file mode 100644 index 00000000..cf5e6da1 Binary files /dev/null and b/NativeScript/lib/arm64-appletvos/libcrdtp.a differ diff --git a/NativeScript/lib/arm64-appletvos/libcrdtp_platform.a b/NativeScript/lib/arm64-appletvos/libcrdtp_platform.a new file mode 100644 index 00000000..ffa03cb2 Binary files /dev/null and b/NativeScript/lib/arm64-appletvos/libcrdtp_platform.a differ diff --git a/NativeScript/lib/arm64-appletvos/libffi.a b/NativeScript/lib/arm64-appletvos/libffi.a new file mode 100644 index 00000000..107d04c9 Binary files /dev/null and b/NativeScript/lib/arm64-appletvos/libffi.a differ diff --git a/NativeScript/lib/arm64-appletvos/libinspector.a b/NativeScript/lib/arm64-appletvos/libinspector.a new file mode 100644 index 00000000..12620a4d Binary files /dev/null and b/NativeScript/lib/arm64-appletvos/libinspector.a differ diff --git a/NativeScript/lib/arm64-appletvos/libinspector_string_conversions.a b/NativeScript/lib/arm64-appletvos/libinspector_string_conversions.a new file mode 100644 index 00000000..0dc5c7dd Binary files /dev/null and b/NativeScript/lib/arm64-appletvos/libinspector_string_conversions.a differ diff --git a/NativeScript/lib/arm64-appletvos/libtorque_generated_definitions.a b/NativeScript/lib/arm64-appletvos/libtorque_generated_definitions.a new file mode 100644 index 00000000..c4cf4c5b Binary files /dev/null and b/NativeScript/lib/arm64-appletvos/libtorque_generated_definitions.a differ diff --git a/NativeScript/lib/arm64-appletvos/libtorque_generated_initializers.a b/NativeScript/lib/arm64-appletvos/libtorque_generated_initializers.a new file mode 100644 index 00000000..378cd547 Binary files /dev/null and b/NativeScript/lib/arm64-appletvos/libtorque_generated_initializers.a differ diff --git a/NativeScript/lib/arm64-appletvos/libv8_base_without_compiler.a b/NativeScript/lib/arm64-appletvos/libv8_base_without_compiler.a new file mode 100644 index 00000000..8c1828f1 Binary files /dev/null and b/NativeScript/lib/arm64-appletvos/libv8_base_without_compiler.a differ diff --git a/NativeScript/lib/arm64-appletvos/libv8_bigint.a b/NativeScript/lib/arm64-appletvos/libv8_bigint.a new file mode 100644 index 00000000..98f281f6 Binary files /dev/null and b/NativeScript/lib/arm64-appletvos/libv8_bigint.a differ diff --git a/NativeScript/lib/arm64-appletvos/libv8_compiler.a b/NativeScript/lib/arm64-appletvos/libv8_compiler.a new file mode 100644 index 00000000..44c7b5fb Binary files /dev/null and b/NativeScript/lib/arm64-appletvos/libv8_compiler.a differ diff --git a/NativeScript/lib/arm64-appletvos/libv8_heap_base.a b/NativeScript/lib/arm64-appletvos/libv8_heap_base.a new file mode 100644 index 00000000..59b1a6a5 Binary files /dev/null and b/NativeScript/lib/arm64-appletvos/libv8_heap_base.a differ diff --git a/NativeScript/lib/arm64-appletvos/libv8_heap_base_headers.a b/NativeScript/lib/arm64-appletvos/libv8_heap_base_headers.a new file mode 100644 index 00000000..8b277f0d --- /dev/null +++ b/NativeScript/lib/arm64-appletvos/libv8_heap_base_headers.a @@ -0,0 +1 @@ +! diff --git a/NativeScript/lib/arm64-appletvos/libv8_libbase.a b/NativeScript/lib/arm64-appletvos/libv8_libbase.a new file mode 100644 index 00000000..a208611c Binary files /dev/null and b/NativeScript/lib/arm64-appletvos/libv8_libbase.a differ diff --git a/NativeScript/lib/arm64-appletvos/libv8_libplatform.a b/NativeScript/lib/arm64-appletvos/libv8_libplatform.a new file mode 100644 index 00000000..815480a3 Binary files /dev/null and b/NativeScript/lib/arm64-appletvos/libv8_libplatform.a differ diff --git a/NativeScript/lib/arm64-appletvos/libv8_snapshot.a b/NativeScript/lib/arm64-appletvos/libv8_snapshot.a new file mode 100644 index 00000000..030583c0 Binary files /dev/null and b/NativeScript/lib/arm64-appletvos/libv8_snapshot.a differ diff --git a/NativeScript/lib/arm64-appletvos/libzip.a b/NativeScript/lib/arm64-appletvos/libzip.a new file mode 100644 index 00000000..37ba95fe Binary files /dev/null and b/NativeScript/lib/arm64-appletvos/libzip.a differ diff --git a/NativeScript/lib/arm64-appletvsimulator/libcppgc_base.a b/NativeScript/lib/arm64-appletvsimulator/libcppgc_base.a new file mode 100644 index 00000000..2fbd5303 Binary files /dev/null and b/NativeScript/lib/arm64-appletvsimulator/libcppgc_base.a differ diff --git a/NativeScript/lib/arm64-appletvsimulator/libcrdtp.a b/NativeScript/lib/arm64-appletvsimulator/libcrdtp.a new file mode 100644 index 00000000..f1f65a60 Binary files /dev/null and b/NativeScript/lib/arm64-appletvsimulator/libcrdtp.a differ diff --git a/NativeScript/lib/arm64-appletvsimulator/libcrdtp_platform.a b/NativeScript/lib/arm64-appletvsimulator/libcrdtp_platform.a new file mode 100644 index 00000000..d87484b8 Binary files /dev/null and b/NativeScript/lib/arm64-appletvsimulator/libcrdtp_platform.a differ diff --git a/NativeScript/lib/arm64-appletvsimulator/libffi.a b/NativeScript/lib/arm64-appletvsimulator/libffi.a new file mode 100644 index 00000000..45f9cbf3 Binary files /dev/null and b/NativeScript/lib/arm64-appletvsimulator/libffi.a differ diff --git a/NativeScript/lib/arm64-appletvsimulator/libinspector.a b/NativeScript/lib/arm64-appletvsimulator/libinspector.a new file mode 100644 index 00000000..ca0ff003 Binary files /dev/null and b/NativeScript/lib/arm64-appletvsimulator/libinspector.a differ diff --git a/NativeScript/lib/arm64-appletvsimulator/libinspector_string_conversions.a b/NativeScript/lib/arm64-appletvsimulator/libinspector_string_conversions.a new file mode 100644 index 00000000..1628db2f Binary files /dev/null and b/NativeScript/lib/arm64-appletvsimulator/libinspector_string_conversions.a differ diff --git a/NativeScript/lib/arm64-appletvsimulator/libtorque_generated_definitions.a b/NativeScript/lib/arm64-appletvsimulator/libtorque_generated_definitions.a new file mode 100644 index 00000000..5996ade8 Binary files /dev/null and b/NativeScript/lib/arm64-appletvsimulator/libtorque_generated_definitions.a differ diff --git a/NativeScript/lib/arm64-appletvsimulator/libtorque_generated_initializers.a b/NativeScript/lib/arm64-appletvsimulator/libtorque_generated_initializers.a new file mode 100644 index 00000000..4bb03996 Binary files /dev/null and b/NativeScript/lib/arm64-appletvsimulator/libtorque_generated_initializers.a differ diff --git a/NativeScript/lib/arm64-appletvsimulator/libv8_base_without_compiler.a b/NativeScript/lib/arm64-appletvsimulator/libv8_base_without_compiler.a new file mode 100644 index 00000000..eea4569f Binary files /dev/null and b/NativeScript/lib/arm64-appletvsimulator/libv8_base_without_compiler.a differ diff --git a/NativeScript/lib/arm64-appletvsimulator/libv8_bigint.a b/NativeScript/lib/arm64-appletvsimulator/libv8_bigint.a new file mode 100644 index 00000000..3854a0f3 Binary files /dev/null and b/NativeScript/lib/arm64-appletvsimulator/libv8_bigint.a differ diff --git a/NativeScript/lib/arm64-appletvsimulator/libv8_compiler.a b/NativeScript/lib/arm64-appletvsimulator/libv8_compiler.a new file mode 100644 index 00000000..2a07e951 Binary files /dev/null and b/NativeScript/lib/arm64-appletvsimulator/libv8_compiler.a differ diff --git a/NativeScript/lib/arm64-appletvsimulator/libv8_heap_base.a b/NativeScript/lib/arm64-appletvsimulator/libv8_heap_base.a new file mode 100644 index 00000000..3f2e9a35 Binary files /dev/null and b/NativeScript/lib/arm64-appletvsimulator/libv8_heap_base.a differ diff --git a/NativeScript/lib/arm64-appletvsimulator/libv8_heap_base_headers.a b/NativeScript/lib/arm64-appletvsimulator/libv8_heap_base_headers.a new file mode 100644 index 00000000..8b277f0d --- /dev/null +++ b/NativeScript/lib/arm64-appletvsimulator/libv8_heap_base_headers.a @@ -0,0 +1 @@ +! diff --git a/NativeScript/lib/arm64-appletvsimulator/libv8_libbase.a b/NativeScript/lib/arm64-appletvsimulator/libv8_libbase.a new file mode 100644 index 00000000..ef8df6a2 Binary files /dev/null and b/NativeScript/lib/arm64-appletvsimulator/libv8_libbase.a differ diff --git a/NativeScript/lib/arm64-appletvsimulator/libv8_libplatform.a b/NativeScript/lib/arm64-appletvsimulator/libv8_libplatform.a new file mode 100644 index 00000000..9fcbf4bf Binary files /dev/null and b/NativeScript/lib/arm64-appletvsimulator/libv8_libplatform.a differ diff --git a/NativeScript/lib/arm64-appletvsimulator/libv8_snapshot.a b/NativeScript/lib/arm64-appletvsimulator/libv8_snapshot.a new file mode 100644 index 00000000..47ccc3cc Binary files /dev/null and b/NativeScript/lib/arm64-appletvsimulator/libv8_snapshot.a differ diff --git a/NativeScript/lib/arm64-appletvsimulator/libzip.a b/NativeScript/lib/arm64-appletvsimulator/libzip.a new file mode 100644 index 00000000..b5660107 Binary files /dev/null and b/NativeScript/lib/arm64-appletvsimulator/libzip.a differ diff --git a/build_all_tvos.sh b/build_all_tvos.sh new file mode 100755 index 00000000..6e2685b6 --- /dev/null +++ b/build_all_tvos.sh @@ -0,0 +1,10 @@ +#!/bin/bash +set -e + +rm -rf ./dist +./update_version.sh +./build_metadata_generator.sh +./build_nativescript.sh --no-catalyst --no-iphone --no-sim --no-xr +./build_tklivesync.sh --no-catalyst --no-iphone --no-sim --no-xr +./prepare_dSYMs.sh +./build_npm_tvos.sh \ No newline at end of file diff --git a/build_nativescript.sh b/build_nativescript.sh index 4cdfdcf0..9b0d0294 100755 --- a/build_nativescript.sh +++ b/build_nativescript.sh @@ -27,6 +27,7 @@ BUILD_CATALYST=$(to_bool ${BUILD_CATALYST:=true}) BUILD_IPHONE=$(to_bool ${BUILD_IPHONE:=true}) BUILD_SIMULATOR=$(to_bool ${BUILD_SIMULATOR:=true}) BUILD_VISION=$(to_bool ${BUILD_VISION:=true}) +BUILD_TV=$(to_bool ${BUILD_TV:=true}) VERBOSE=$(to_bool ${VERBOSE:=false}) for arg in $@; do @@ -39,6 +40,8 @@ for arg in $@; do --no-iphone|--no-device) BUILD_IPHONE=false ;; --xr|--vision) BUILD_VISION=true ;; --no-xr|--no-vision) BUILD_VISION=false ;; + --tv|--appletv) BUILD_TV=true ;; + --no-tv|--no-appletv) BUILD_TV=false ;; --verbose|-v) VERBOSE=true ;; *) ;; esac @@ -131,6 +134,35 @@ xcodebuild archive -project v8ios.xcodeproj \ -archivePath $DIST/intermediates/NativeScript.xrsimulator.xcarchive fi +if $BUILD_TV; then + +checkpoint "Building NativeScript for Apple TV Device" +xcodebuild archive -project v8ios.xcodeproj \ + -scheme "NativeScript" \ + -configuration Release \ + -destination "generic/platform=tvOS" \ + $QUIET \ + EXCLUDED_ARCHS="i386 x86_64" \ + VALID_ARCHS=arm64 \ + DEVELOPMENT_TEAM=$DEV_TEAM \ + SKIP_INSTALL=NO \ + BUILD_LIBRARY_FOR_DISTRIBUTION=YES \ + -archivePath $DIST/intermediates/NativeScript.tvos.xcarchive + +checkpoint "Building NativeScript for Apple TV Simulators" +xcodebuild archive -project v8ios.xcodeproj \ + -scheme "NativeScript" \ + -configuration Release \ + -destination "generic/platform=tvOS Simulator" \ + $QUIET \ + EXCLUDED_ARCHS="i386 x86_64" \ + VALID_ARCHS=arm64 \ + DEVELOPMENT_TEAM=$DEV_TEAM \ + SKIP_INSTALL=NO \ + BUILD_LIBRARY_FOR_DISTRIBUTION=YES \ + -archivePath $DIST/intermediates/NativeScript.tvsimulator.xcarchive +fi + XCFRAMEWORKS=() if $BUILD_CATALYST; then XCFRAMEWORKS+=( -framework "$DIST/intermediates/NativeScript.maccatalyst.xcarchive/Products/Library/Frameworks/NativeScript.framework" \ @@ -154,6 +186,13 @@ if $BUILD_VISION; then -debug-symbols "$DIST/intermediates/NativeScript.xrsimulator.xcarchive/dSYMs/NativeScript.framework.dSYM" ) fi +if $BUILD_TV; then + XCFRAMEWORKS+=( -framework "$DIST/intermediates/NativeScript.tvos.xcarchive/Products/Library/Frameworks/NativeScript.framework" \ + -debug-symbols "$DIST/intermediates/NativeScript.tvos.xcarchive/dSYMs/NativeScript.framework.dSYM" ) + XCFRAMEWORKS+=( -framework "$DIST/intermediates/NativeScript.tvsimulator.xcarchive/Products/Library/Frameworks/NativeScript.framework" \ + -debug-symbols "$DIST/intermediates/NativeScript.tvsimulator.xcarchive/dSYMs/NativeScript.framework.dSYM" ) +fi + checkpoint "Creating NativeScript.xcframework" OUTPUT_DIR="$DIST/NativeScript.xcframework" rm -rf $OUTPUT_DIR diff --git a/build_npm_tvos.sh b/build_npm_tvos.sh new file mode 100755 index 00000000..0050ded0 --- /dev/null +++ b/build_npm_tvos.sh @@ -0,0 +1,36 @@ +#!/bin/bash +set -e +source "$(dirname "$0")/build_utils.sh" + +checkpoint "Preparing npm package for tvOS..." +OUTPUT_DIR="dist/npm" +rm -rf "$OUTPUT_DIR" +mkdir -p "$OUTPUT_DIR" +mkdir -p "$OUTPUT_DIR/framework" +cp ./package.json "$OUTPUT_DIR" + +cp -r "./project-template-ios/" "$OUTPUT_DIR/framework" + +cp -r "dist/NativeScript.xcframework" "$OUTPUT_DIR/framework/internal" +cp -r "dist/TKLiveSync.xcframework" "$OUTPUT_DIR/framework/internal" + +mkdir -p "$OUTPUT_DIR/framework/internal/metadata-generator-x86_64" +cp -r "metadata-generator/dist/x86_64/." "$OUTPUT_DIR/framework/internal/metadata-generator-x86_64" + +mkdir -p "$OUTPUT_DIR/framework/internal/metadata-generator-arm64" +cp -r "metadata-generator/dist/arm64/." "$OUTPUT_DIR/framework/internal/metadata-generator-arm64" + +# Add xcframeworks to .zip (NPM modules do not support symlinks, unzipping is done by {N} CLI) +( + set -e + cd $OUTPUT_DIR/framework/internal + zip -qr --symlinks XCFrameworks.zip *.xcframework + rm -rf *.xcframework +) + +pushd "$OUTPUT_DIR" +npm pack +mv *.tgz ../ +popd + +checkpoint "npm package created." \ No newline at end of file diff --git a/build_tklivesync.sh b/build_tklivesync.sh index e24a0e3b..c73c4b44 100755 --- a/build_tklivesync.sh +++ b/build_tklivesync.sh @@ -27,6 +27,7 @@ BUILD_CATALYST=$(to_bool ${BUILD_CATALYST:=true}) BUILD_IPHONE=$(to_bool ${BUILD_IPHONE:=true}) BUILD_SIMULATOR=$(to_bool ${BUILD_SIMULATOR:=true}) BUILD_VISION=$(to_bool ${BUILD_VISION:=true}) +BUILD_TV=$(to_bool ${BUILD_TV:=true}) VERBOSE=$(to_bool ${VERBOSE:=false}) for arg in $@; do @@ -39,6 +40,8 @@ for arg in $@; do --no-iphone|--no-device) BUILD_IPHONE=false ;; --xr|--vision) BUILD_VISION=true ;; --no-xr|--no-vision) BUILD_VISION=false ;; + --tv|--appletv) BUILD_TV=true ;; + --no-tv|--no-appletv) BUILD_TV=false ;; --verbose|-v) VERBOSE=true ;; *) ;; esac @@ -118,6 +121,29 @@ xcodebuild archive -project v8ios.xcodeproj \ -archivePath $DIST/intermediates/TKLiveSync.xros.xcarchive fi +if $BUILD_TV; then + +checkpoint "Building TKLiveSync for Apple TV Device" +xcodebuild archive -project v8ios.xcodeproj \ + -scheme "TKLiveSync" \ + -configuration Release \ + -destination "generic/platform=tvOS" \ + -quiet \ + SKIP_INSTALL=NO \ + BUILD_LIBRARY_FOR_DISTRIBUTION=YES \ + -archivePath $DIST/intermediates/TKLiveSync.tvos.xcarchive + +checkpoint "Building TKLiveSync for Apple TV Simulators" +xcodebuild archive -project v8ios.xcodeproj \ + -scheme "TKLiveSync" \ + -configuration Release \ + -destination "generic/platform=tvOS Simulator" \ + -quiet \ + SKIP_INSTALL=NO \ + BUILD_LIBRARY_FOR_DISTRIBUTION=YES \ + -archivePath $DIST/intermediates/TKLiveSync.tvsimulator.xcarchive +fi + #Creates directory for fat-library OUTPUT_DIR="$DIST/TKLiveSync.xcframework" rm -rf "${OUTPUT_PATH}" @@ -161,6 +187,13 @@ if $BUILD_VISION; then -debug-symbols "$DIST/intermediates/TKLiveSync.xrsimulator.xcarchive/dSYMs/TKLiveSync.framework.dSYM" ) fi +if $BUILD_TV; then + XCFRAMEWORKS+=( -framework "$DIST/intermediates/TKLiveSync.tvos.xcarchive/Products/Library/Frameworks/TKLiveSync.framework" \ + -debug-symbols "$DIST/intermediates/TKLiveSync.tvos.xcarchive/dSYMs/TKLiveSync.framework.dSYM" ) + XCFRAMEWORKS+=( -framework "$DIST/intermediates/TKLiveSync.tvsimulator.xcarchive/Products/Library/Frameworks/TKLiveSync.framework" \ + -debug-symbols "$DIST/intermediates/TKLiveSync.tvsimulator.xcarchive/dSYMs/TKLiveSync.framework.dSYM" ) +fi + checkpoint "Creating TKLiveSync.xcframework" OUTPUT_DIR="$DIST/TKLiveSync.xcframework" rm -rf $OUTPUT_DIR diff --git a/package.json b/package.json index a52b5007..ece0eb4f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "@nativescript/ios", - "description": "NativeScript Runtime for iOS", + "name": "@nativescript/tvos", + "description": "NativeScript Runtime for tvOS", "version": "8.7.3", "keywords": [ "NativeScript", @@ -24,6 +24,7 @@ "build-v8-source": "./build_v8_source.sh", "build-v8-source-catalyst": "./build_v8_source_catalyst.sh", "build-ios": "node prepare-target ios && ./build_all_ios.sh", + "build-tvos": "node prepare-target tvos && ./build_all_tvos.sh", "build-vision": "node prepare-target visionos && ./build_all_vision.sh", "setup-ci": "./build_metadata_generator.sh", "update-version": "./update_version.sh", diff --git a/prepare-target.js b/prepare-target.js index 45d816c2..80a2aecd 100644 --- a/prepare-target.js +++ b/prepare-target.js @@ -2,12 +2,22 @@ const path = require('path'); const fs = require('fs'); const cmdArgs = process.argv.slice(2); -const target = cmdArgs[0]; // ios or visionos +const target = cmdArgs[0]; // ios, tvos or visionos const packagePath = path.join('package.json'); const packageJson = JSON.parse(fs.readFileSync(packagePath)); packageJson.name = `@nativescript/${target}`; -packageJson.description = `NativeScript Runtime for ${target === 'ios' ? 'iOS' : 'visionOS'}`; +let targetName = 'iOS'; +switch (target) { + case 'tvos': + targetName = 'tvOS'; + break; + case 'visionos': + targetName = 'visionOS'; + break; + +} +packageJson.description = `NativeScript Runtime for ${targetName}`; fs.writeFileSync(packagePath, JSON.stringify(packageJson, null, 2)); \ No newline at end of file diff --git a/project-template-tvos/.build_env_vars.sh b/project-template-tvos/.build_env_vars.sh new file mode 100644 index 00000000..2c84df32 --- /dev/null +++ b/project-template-tvos/.build_env_vars.sh @@ -0,0 +1,559 @@ +set +e +set +o posix +declare -x ACTION="indexbuild" +declare -x AD_HOC_CODE_SIGNING_ALLOWED="YES" +declare -x AGGREGATE_TRACKED_DOMAINS="YES" +declare -x ALLOW_TARGET_PLATFORM_SPECIALIZATION="NO" +declare -x ALTERNATE_GROUP="staff" +declare -x ALTERNATE_MODE="u+w,go-w,a+rX" +declare -x ALTERNATE_OWNER="nstudio" +declare -x ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES="NO" +declare -x ALWAYS_SEARCH_USER_PATHS="NO" +declare -x ALWAYS_USE_SEPARATE_HEADERMAPS="NO" +declare -x APPLE_INTERNAL_DEVELOPER_DIR="/AppleInternal/Developer" +declare -x APPLE_INTERNAL_DIR="/AppleInternal" +declare -x APPLE_INTERNAL_DOCUMENTATION_DIR="/AppleInternal/Documentation" +declare -x APPLE_INTERNAL_LIBRARY_DIR="/AppleInternal/Library" +declare -x APPLE_INTERNAL_TOOLS="/AppleInternal/Developer/Tools" +declare -x APPLICATION_EXTENSION_API_ONLY="NO" +declare -x APPLY_RULES_IN_COPY_FILES="NO" +declare -x APPLY_RULES_IN_COPY_HEADERS="NO" +declare -x APP_SHORTCUTS_ENABLE_FLEXIBLE_MATCHING="YES" +declare -x ARCHS="arm64" +declare -x ARCHS_STANDARD="arm64 x86_64" +declare -x ARCHS_STANDARD_32_64_BIT="arm64 i386 x86_64" +declare -x ARCHS_STANDARD_32_BIT="i386" +declare -x ARCHS_STANDARD_64_BIT="arm64 x86_64" +declare -x ARCHS_STANDARD_INCLUDING_64_BIT="arm64 x86_64" +declare -x ARCHS_UNIVERSAL_IPHONE_OS="arm64 i386 x86_64" +declare -x ASSETCATALOG_COMPILER_GENERATE_ASSET_SYMBOLS="YES" +declare -x AUTOMATICALLY_MERGE_DEPENDENCIES="NO" +declare -x AVAILABLE_PLATFORMS="appletvos appletvsimulator driverkit iphoneos iphonesimulator macosx watchos watchsimulator xros xrsimulator" +declare -x BITCODE_GENERATION_MODE="marker" +declare -x BUILD_ACTIVE_RESOURCES_ONLY="NO" +declare -x BUILD_COMPONENTS="headers build" +declare -x BUILD_DIR="/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Index.noindex/Build/Products" +declare -x BUILD_LIBRARY_FOR_DISTRIBUTION="NO" +declare -x BUILD_ROOT="/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Index.noindex/Build/Products" +declare -x BUILD_STYLE="" +declare -x BUILD_VARIANTS="normal" +declare -x BUILT_PRODUCTS_DIR="/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Index.noindex/Build/Products/Debug-iphonesimulator" +declare -x BUNDLE_CONTENTS_FOLDER_PATH_deep="Contents/" +declare -x BUNDLE_EXECUTABLE_FOLDER_NAME_deep="MacOS" +declare -x BUNDLE_EXTENSIONS_FOLDER_PATH="Extensions" +declare -x BUNDLE_FORMAT="shallow" +declare -x BUNDLE_FRAMEWORKS_FOLDER_PATH="Frameworks" +declare -x BUNDLE_PLUGINS_FOLDER_PATH="PlugIns" +declare -x BUNDLE_PRIVATE_HEADERS_FOLDER_PATH="PrivateHeaders" +declare -x BUNDLE_PUBLIC_HEADERS_FOLDER_PATH="Headers" +declare -x CACHE_ROOT="/var/folders/0s/pcxnlsz53zg7d8gv5w4wk2qc0000gn/C/com.apple.DeveloperTools/15.4-15F31d/Xcode" +declare -x CA_ASSERT_MAIN_THREAD_TRANSACTIONS="1" +declare -x CA_DEBUG_TRANSACTIONS="1" +declare -x CCHROOT="/var/folders/0s/pcxnlsz53zg7d8gv5w4wk2qc0000gn/C/com.apple.DeveloperTools/15.4-15F31d/Xcode" +declare -x CHMOD="/bin/chmod" +declare -x CHOWN="/usr/sbin/chown" +declare -x CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED="YES" +declare -x CLANG_COMPILE_CACHE_PATH="/Users/nstudio/Library/Developer/Xcode/DerivedData/CompilationCache.noindex" +declare -x CLANG_CXX_LANGUAGE_STANDARD="gnu++0x" +declare -x CLANG_CXX_LIBRARY="libc++" +declare -x CLANG_ENABLE_EXPLICIT_MODULES="NO" +declare -x CLANG_ENABLE_MODULES="NO" +declare -x CLANG_ENABLE_OBJC_ARC="YES" +declare -x CLANG_MODULES_AUTOLINK="NO" +declare -x CLANG_MODULES_BUILD_SESSION_FILE="/Users/nstudio/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation" +declare -x CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING="YES" +declare -x CLANG_WARN_BOOL_CONVERSION="YES" +declare -x CLANG_WARN_COMMA="YES" +declare -x CLANG_WARN_CONSTANT_CONVERSION="YES" +declare -x CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS="YES" +declare -x CLANG_WARN_DIRECT_OBJC_ISA_USAGE="YES_ERROR" +declare -x CLANG_WARN_EMPTY_BODY="YES" +declare -x CLANG_WARN_ENUM_CONVERSION="YES" +declare -x CLANG_WARN_INFINITE_RECURSION="YES" +declare -x CLANG_WARN_INT_CONVERSION="YES" +declare -x CLANG_WARN_NON_LITERAL_NULL_CONVERSION="YES" +declare -x CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF="YES" +declare -x CLANG_WARN_OBJC_LITERAL_CONVERSION="YES" +declare -x CLANG_WARN_OBJC_ROOT_CLASS="YES_ERROR" +declare -x CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER="YES" +declare -x CLANG_WARN_RANGE_LOOP_ANALYSIS="YES" +declare -x CLANG_WARN_STRICT_PROTOTYPES="YES" +declare -x CLANG_WARN_SUSPICIOUS_MOVE="YES" +declare -x CLANG_WARN_UNREACHABLE_CODE="YES" +declare -x CLANG_WARN__DUPLICATE_METHOD_MATCH="YES" +declare -x CLASS_FILE_DIR="/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Index.noindex/Build/Intermediates.noindex/__PROJECT_NAME__.build/Debug-iphonesimulator/__PROJECT_NAME__.build/JavaClasses" +declare -x CLEAN_PRECOMPS="YES" +declare -x CLONE_HEADERS="NO" +declare -x CODESIGNING_FOLDER_PATH="/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Index.noindex/Build/Products/Debug-iphonesimulator/__PROJECT_NAME__.app" +declare -x CODE_SIGNING_ALLOWED="YES" +declare -x CODE_SIGNING_REQUIRED="YES" +declare -x CODE_SIGN_CONTEXT_CLASS="XCiPhoneSimulatorCodeSignContext" +declare -x CODE_SIGN_ENTITLEMENTS="__PROJECT_NAME__/__PROJECT_NAME__.entitlements" +declare -x CODE_SIGN_IDENTITY="-" +declare -x CODE_SIGN_INJECT_BASE_ENTITLEMENTS="YES" +declare -x COLOR_DIAGNOSTICS="NO" +declare -x COMBINE_HIDPI_IMAGES="NO" +declare -x COMMAND_MODE="unix2003" +declare -x COMPILATION_CACHE_KEEP_CAS_DIRECTORY="YES" +declare -x COMPILER_INDEX_STORE_ENABLE="Default" +declare -x COMPOSITE_SDK_DIRS="/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Index.noindex/Build/Intermediates.noindex/CompositeSDKs" +declare -x COMPRESS_PNG_FILES="YES" +declare -x CONFIGURATION="Debug" +declare -x CONFIGURATION_BUILD_DIR="/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Index.noindex/Build/Products/Debug-iphonesimulator" +declare -x CONFIGURATION_TEMP_DIR="/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Index.noindex/Build/Intermediates.noindex/__PROJECT_NAME__.build/Debug-iphonesimulator" +declare -x CONTENTS_FOLDER_PATH="__PROJECT_NAME__.app" +declare -x CONTENTS_FOLDER_PATH_SHALLOW_BUNDLE_NO="__PROJECT_NAME__.app/Contents" +declare -x CONTENTS_FOLDER_PATH_SHALLOW_BUNDLE_YES="__PROJECT_NAME__.app" +declare -x COPYING_PRESERVES_HFS_DATA="NO" +declare -x COPY_HEADERS_RUN_UNIFDEF="NO" +declare -x COPY_PHASE_STRIP="NO" +declare -x CORRESPONDING_DEVICE_PLATFORM_DIR="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform" +declare -x CORRESPONDING_DEVICE_PLATFORM_NAME="iphoneos" +declare -x CORRESPONDING_DEVICE_SDK_DIR="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.5.sdk" +declare -x CORRESPONDING_DEVICE_SDK_NAME="iphoneos17.5" +declare -x CP="/bin/cp" +declare -x CREATE_INFOPLIST_SECTION_IN_BINARY="NO" +declare -x CURRENT_ARCH="undefined_arch" +declare -x CURRENT_VARIANT="normal" +declare -x DEAD_CODE_STRIPPING="YES" +declare -x DEBUGGING_SYMBOLS="YES" +declare -x DEBUG_INFORMATION_FORMAT="dwarf-with-dsym" +declare -x DEFAULT_COMPILER="com.apple.compilers.llvm.clang.1_0" +declare -x DEFAULT_DEXT_INSTALL_PATH="/System/Library/DriverExtensions" +declare -x DEFAULT_KEXT_INSTALL_PATH="/System/Library/Extensions" +declare -x DEFINES_MODULE="NO" +declare -x DEPLOYMENT_LOCATION="NO" +declare -x DEPLOYMENT_POSTPROCESSING="NO" +declare -x DEPLOYMENT_TARGET_SETTING_NAME="IPHONEOS_DEPLOYMENT_TARGET" +declare -x DEPLOYMENT_TARGET_SUGGESTED_VALUES="12.0 12.1 12.2 12.3 12.4 13.0 13.1 13.2 13.3 13.4 13.5 13.6 14.0 14.1 14.2 14.3 14.4 14.5 14.6 14.7 15.0 15.1 15.2 15.3 15.4 15.5 15.6 16.0 16.1 16.2 16.3 16.4 16.5 16.6 17.0 17.1 17.2 17.3 17.4 17.5" +declare -x DERIVED_FILES_DIR="/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Index.noindex/Build/Intermediates.noindex/__PROJECT_NAME__.build/Debug-iphonesimulator/__PROJECT_NAME__.build/DerivedSources" +declare -x DERIVED_FILE_DIR="/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Index.noindex/Build/Intermediates.noindex/__PROJECT_NAME__.build/Debug-iphonesimulator/__PROJECT_NAME__.build/DerivedSources" +declare -x DERIVED_SOURCES_DIR="/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Index.noindex/Build/Intermediates.noindex/__PROJECT_NAME__.build/Debug-iphonesimulator/__PROJECT_NAME__.build/DerivedSources" +declare -x DERIVE_UIKITFORMAC_PRODUCT_BUNDLE_IDENTIFIER="YES" +declare -x DEVELOPER_APPLICATIONS_DIR="/Applications/Xcode.app/Contents/Developer/Applications" +declare -x DEVELOPER_BIN_DIR="/Applications/Xcode.app/Contents/Developer/usr/bin" +declare -x DEVELOPER_DIR="/Applications/Xcode.app/Contents/Developer" +declare -x DEVELOPER_FRAMEWORKS_DIR="/Applications/Xcode.app/Contents/Developer/Library/Frameworks" +declare -x DEVELOPER_FRAMEWORKS_DIR_QUOTED="/Applications/Xcode.app/Contents/Developer/Library/Frameworks" +declare -x DEVELOPER_LIBRARY_DIR="/Applications/Xcode.app/Contents/Developer/Library" +declare -x DEVELOPER_SDK_DIR="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs" +declare -x DEVELOPER_TOOLS_DIR="/Applications/Xcode.app/Contents/Developer/Tools" +declare -x DEVELOPER_USR_DIR="/Applications/Xcode.app/Contents/Developer/usr" +declare -x DEVELOPMENT_LANGUAGE="en" +declare -x DIFF="/usr/bin/diff" +declare -x DOCUMENTATION_FOLDER_PATH="__PROJECT_NAME__.app/en.lproj/Documentation" +declare -x DONT_GENERATE_INFOPLIST_FILE="NO" +declare -x DO_HEADER_SCANNING_IN_JAM="NO" +declare -x DSTROOT="/tmp/__PROJECT_NAME__.dst" +declare -x DT_TOOLCHAIN_DIR="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain" +declare -x DWARF_DSYM_FILE_NAME="__PROJECT_NAME__.app.dSYM" +declare -x DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT="NO" +declare -x DWARF_DSYM_FOLDER_PATH="/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Index.noindex/Build/Products/Debug-iphonesimulator" +declare -x DYNAMIC_LIBRARY_EXTENSION="dylib" +declare -x EAGER_LINKING="NO" +declare -x EFFECTIVE_PLATFORM_NAME="-iphonesimulator" +declare -x EMBEDDED_CONTENT_CONTAINS_SWIFT="NO" +declare -x EMBED_ASSET_PACKS_IN_PRODUCT_BUNDLE="NO" +declare -x ENABLE_APP_SANDBOX="NO" +declare -x ENABLE_BITCODE="NO" +declare -x ENABLE_CODE_COVERAGE="YES" +declare -x ENABLE_DEFAULT_HEADER_SEARCH_PATHS="YES" +declare -x ENABLE_DEFAULT_SEARCH_PATHS="YES" +declare -x ENABLE_HARDENED_RUNTIME="NO" +declare -x ENABLE_HEADER_DEPENDENCIES="YES" +declare -x ENABLE_ON_DEMAND_RESOURCES="YES" +declare -x ENABLE_PREVIEWS="NO" +declare -x ENABLE_STRICT_OBJC_MSGSEND="YES" +declare -x ENABLE_TESTABILITY="YES" +declare -x ENABLE_TESTING_SEARCH_PATHS="NO" +declare -x ENABLE_USER_SCRIPT_SANDBOXING="NO" +declare -x ENABLE_XOJIT_PREVIEWS="NO" +declare -x ENTITLEMENTS_ALLOWED="NO" +declare -x ENTITLEMENTS_DESTINATION="__entitlements" +declare -x ENTITLEMENTS_REQUIRED="NO" +declare -x EXCLUDED_ARCHS="i386 armv6 armv7 armv7s armv8 " +declare -x EXCLUDED_ARCHS_x86_64="arm64 arm64e" +declare -x EXCLUDED_INSTALLSRC_SUBDIRECTORY_PATTERNS=".DS_Store .svn .git .hg CVS" +declare -x EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES="*.nib *.lproj *.framework *.gch *.xcode* *.xcassets (*) .DS_Store CVS .svn .git .hg *.pbproj *.pbxproj" +declare -x EXECUTABLES_FOLDER_PATH="__PROJECT_NAME__.app/Executables" +declare -x EXECUTABLE_FOLDER_PATH="__PROJECT_NAME__.app" +declare -x EXECUTABLE_FOLDER_PATH_SHALLOW_BUNDLE_NO="__PROJECT_NAME__.app/MacOS" +declare -x EXECUTABLE_FOLDER_PATH_SHALLOW_BUNDLE_YES="__PROJECT_NAME__.app" +declare -x EXECUTABLE_NAME="__PROJECT_NAME__" +declare -x EXECUTABLE_PATH="__PROJECT_NAME__.app/__PROJECT_NAME__" +declare -x EXTENSIONS_FOLDER_PATH="__PROJECT_NAME__.app/Extensions" +declare -x FILE_LIST="/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Index.noindex/Build/Intermediates.noindex/__PROJECT_NAME__.build/Debug-iphonesimulator/__PROJECT_NAME__.build/Objects/LinkFileList" +declare -x FIXED_FILES_DIR="/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Index.noindex/Build/Intermediates.noindex/__PROJECT_NAME__.build/Debug-iphonesimulator/__PROJECT_NAME__.build/FixedFiles" +declare -x FRAMEWORKS_FOLDER_PATH="__PROJECT_NAME__.app/Frameworks" +declare -x FRAMEWORK_FLAG_PREFIX="-framework" +declare -x FRAMEWORK_SEARCH_PATHS="/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Index.noindex/Build/Products/Debug-iphonesimulator \"/Users/nstudio/Documents/github/NativeScript/ios/project-template-tvos/internal/\" \"/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Index.noindex/Build/Products/Debug-iphonesimulator\"" +declare -x FRAMEWORK_VERSION="A" +declare -x FULL_PRODUCT_NAME="__PROJECT_NAME__.app" +declare -x FUSE_BUILD_PHASES="YES" +declare -x FUSE_BUILD_SCRIPT_PHASES="NO" +declare -x GCC3_VERSION="3.3" +declare -x GCC_C_LANGUAGE_STANDARD="gnu99" +declare -x GCC_DYNAMIC_NO_PIC="NO" +declare -x GCC_INLINES_ARE_PRIVATE_EXTERN="YES" +declare -x GCC_NO_COMMON_BLOCKS="YES" +declare -x GCC_OBJC_LEGACY_DISPATCH="YES" +declare -x GCC_OPTIMIZATION_LEVEL="0" +declare -x GCC_PFE_FILE_C_DIALECTS="c objective-c c++ objective-c++" +declare -x GCC_PRECOMPILE_PREFIX_HEADER="YES" +declare -x GCC_PREFIX_HEADER="__PROJECT_NAME__/__PROJECT_NAME__-Prefix.pch" +declare -x GCC_PREPROCESSOR_DEFINITIONS=" DEBUG=1 NS_SWIFTUI_BOOT=0" +declare -x GCC_SYMBOLS_PRIVATE_EXTERN="NO" +declare -x GCC_TREAT_WARNINGS_AS_ERRORS="NO" +declare -x GCC_VERSION="com.apple.compilers.llvm.clang.1_0" +declare -x GCC_VERSION_IDENTIFIER="com_apple_compilers_llvm_clang_1_0" +declare -x GCC_WARN_64_TO_32_BIT_CONVERSION="YES" +declare -x GCC_WARN_ABOUT_RETURN_TYPE="YES_ERROR" +declare -x GCC_WARN_UNDECLARED_SELECTOR="YES" +declare -x GCC_WARN_UNINITIALIZED_AUTOS="YES" +declare -x GCC_WARN_UNUSED_FUNCTION="YES" +declare -x GCC_WARN_UNUSED_VARIABLE="YES" +declare -x GENERATED_MODULEMAP_DIR="/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Index.noindex/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator" +declare -x GENERATE_INFOPLIST_FILE="NO" +declare -x GENERATE_INTERMEDIATE_TEXT_BASED_STUBS="YES" +declare -x GENERATE_MASTER_OBJECT_FILE="NO" +declare -x GENERATE_PKGINFO_FILE="YES" +declare -x GENERATE_PROFILING_CODE="NO" +declare -x GENERATE_TEXT_BASED_STUBS="NO" +declare -x GID="20" +declare -x GROUP="staff" +declare -x HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT="YES" +declare -x HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES="YES" +declare -x HEADERMAP_INCLUDES_NONPUBLIC_NONPRIVATE_HEADERS="YES" +declare -x HEADERMAP_INCLUDES_PROJECT_HEADERS="YES" +declare -x HEADERMAP_USES_FRAMEWORK_PREFIX_ENTRIES="YES" +declare -x HEADERMAP_USES_VFS="NO" +declare -x HEADER_SEARCH_PATHS="/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Index.noindex/Build/Products/Debug-iphonesimulator/include \"/Users/nstudio/Documents/github/NativeScript/ios/project-template-tvos/internal/Swift-Modules\" \"/Users/nstudio/Documents/github/NativeScript/ios/project-template-tvos/internal\"" +declare -x HIDE_BITCODE_SYMBOLS="YES" +declare -x HOME="/Users/nstudio" +declare -x HOST_ARCH="arm64" +declare -x HOST_PLATFORM="macosx" +declare -x ICONV="/usr/bin/iconv" +declare -x INDEX_DIRECTORY_REMAP_VFS_FILE="/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Index.noindex/Build/Intermediates.noindex/index-overlay.yaml" +declare -x INDEX_ENABLE_BUILD_ARENA="YES" +declare -x INDEX_PREPARED_MODULE_CONTENT_MARKER_PATH="/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Index.noindex/Build/Intermediates.noindex/__PROJECT_NAME__.build/Debug-iphonesimulator/__PROJECT_NAME__.build/__PROJECT_NAME__-preparedForIndex-module" +declare -x INDEX_PREPARED_TARGET_MARKER_PATH="/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Index.noindex/Build/Intermediates.noindex/__PROJECT_NAME__.build/Debug-iphonesimulator/__PROJECT_NAME__.build/__PROJECT_NAME__-preparedForIndex-target" +declare -x INDEX_REGULAR_BUILD_INTERMEDIATES_DIR="/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Build/Intermediates.noindex" +declare -x INDEX_REGULAR_BUILD_PRODUCTS_DIR="/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Build/Products" +declare -x INFOPLIST_ENABLE_CFBUNDLEICONS_MERGE="YES" +declare -x INFOPLIST_EXPAND_BUILD_SETTINGS="YES" +declare -x INFOPLIST_FILE="/Users/nstudio/Documents/github/NativeScript/ios/project-template-tvos/__PROJECT_NAME__/__PROJECT_NAME__-Info.plist" +declare -x INFOPLIST_OUTPUT_FORMAT="binary" +declare -x INFOPLIST_PATH="__PROJECT_NAME__.app/Info.plist" +declare -x INFOPLIST_PREPROCESS="NO" +declare -x INFOSTRINGS_PATH="__PROJECT_NAME__.app/en.lproj/InfoPlist.strings" +declare -x INLINE_PRIVATE_FRAMEWORKS="NO" +declare -x INSTALLHDRS_COPY_PHASE="NO" +declare -x INSTALLHDRS_SCRIPT_PHASE="NO" +declare -x INSTALL_DIR="/tmp/__PROJECT_NAME__.dst/Applications" +declare -x INSTALL_GROUP="staff" +declare -x INSTALL_MODE_FLAG="u+w,go-w,a+rX" +declare -x INSTALL_OWNER="nstudio" +declare -x INSTALL_PATH="/Applications" +declare -x INSTALL_ROOT="/tmp/__PROJECT_NAME__.dst" +declare -x IPHONEOS_DEPLOYMENT_TARGET="13.0" +declare -x IS_UNOPTIMIZED_BUILD="YES" +declare -x JAVAC_DEFAULT_FLAGS="-J-Xms64m -J-XX:NewSize=4M -J-Dfile.encoding=UTF8" +declare -x JAVA_APP_STUB="/System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub" +declare -x JAVA_ARCHIVE_CLASSES="YES" +declare -x JAVA_ARCHIVE_TYPE="JAR" +declare -x JAVA_COMPILER="/usr/bin/javac" +declare -x JAVA_FOLDER_PATH="__PROJECT_NAME__.app/Java" +declare -x JAVA_FRAMEWORK_RESOURCES_DIRS="Resources" +declare -x JAVA_JAR_FLAGS="cv" +declare -x JAVA_SOURCE_SUBDIR="." +declare -x JAVA_USE_DEPENDENCIES="YES" +declare -x JAVA_ZIP_FLAGS="-urg" +declare -x JIKES_DEFAULT_FLAGS="+E +OLDCSO" +declare -x KEEP_PRIVATE_EXTERNS="NO" +declare -x LD="/Users/nstudio/Documents/github/NativeScript/ios/project-template-tvos/internal/nsld.sh" +declare -x LDPLUSPLUS="/Users/nstudio/Documents/github/NativeScript/ios/project-template-tvos/internal/nsld.sh" +declare -x LD_DEPENDENCY_INFO_FILE="/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Index.noindex/Build/Intermediates.noindex/__PROJECT_NAME__.build/Debug-iphonesimulator/__PROJECT_NAME__.build/Objects-normal/undefined_arch/__PROJECT_NAME___dependency_info.dat" +declare -x LD_EXPORT_SYMBOLS="YES" +declare -x LD_GENERATE_MAP_FILE="NO" +declare -x LD_LIBRARY_PATH="/Applications/Xcode.app/Contents/Developer/../SharedFrameworks/" +declare -x LD_MAP_FILE_PATH="/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Index.noindex/Build/Intermediates.noindex/__PROJECT_NAME__.build/Debug-iphonesimulator/__PROJECT_NAME__.build/__PROJECT_NAME__-LinkMap-normal-undefined_arch.txt" +declare -x LD_NO_PIE="NO" +declare -x LD_QUOTE_LINKER_ARGUMENTS_FOR_COMPILER_DRIVER="YES" +declare -x LD_RUNPATH_SEARCH_PATHS=" @executable_path/Frameworks" +declare -x LD_RUNPATH_SEARCH_PATHS_YES="@loader_path/../Frameworks" +declare -x LEGACY_DEVELOPER_DIR="/Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer" +declare -x LEX="lex" +declare -x LIBRARY_DEXT_INSTALL_PATH="/Library/DriverExtensions" +declare -x LIBRARY_FLAG_NOSPACE="YES" +declare -x LIBRARY_FLAG_PREFIX="-l" +declare -x LIBRARY_KEXT_INSTALL_PATH="/Library/Extensions" +declare -x LIBRARY_SEARCH_PATHS="/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Index.noindex/Build/Products/Debug-iphonesimulator " +declare -x LINKER_DISPLAYS_MANGLED_NAMES="NO" +declare -x LINK_FILE_LIST_normal_arm64="/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Index.noindex/Build/Intermediates.noindex/__PROJECT_NAME__.build/Debug-iphonesimulator/__PROJECT_NAME__.build/Objects-normal/arm64/__PROJECT_NAME__.LinkFileList" +declare -x LINK_OBJC_RUNTIME="YES" +declare -x LINK_WITH_STANDARD_LIBRARIES="YES" +declare -x LLBUILD_BUILD_ID="3270045040" +declare -x LLBUILD_LANE_ID="9" +declare -x LLBUILD_TASK_ID="ed7000090002" +declare -x LLVM_TARGET_TRIPLE_OS_VERSION="ios13.0" +declare -x LLVM_TARGET_TRIPLE_SUFFIX="-simulator" +declare -x LLVM_TARGET_TRIPLE_VENDOR="apple" +declare -x LM_AUX_CONST_METADATA_LIST_PATH_normal_arm64="/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Index.noindex/Build/Intermediates.noindex/__PROJECT_NAME__.build/Debug-iphonesimulator/__PROJECT_NAME__.build/Objects-normal/arm64/__PROJECT_NAME__.SwiftConstValuesFileList" +declare -x LOCALIZATION_EXPORT_SUPPORTED="YES" +declare -x LOCALIZATION_PREFERS_STRING_CATALOGS="NO" +declare -x LOCALIZED_RESOURCES_FOLDER_PATH="__PROJECT_NAME__.app/en.lproj" +declare -x LOCALIZED_STRING_MACRO_NAMES="NSLocalizedString CFCopyLocalizedString" +declare -x LOCALIZED_STRING_SWIFTUI_SUPPORT="YES" +declare -x LOCAL_ADMIN_APPS_DIR="/Applications/Utilities" +declare -x LOCAL_APPS_DIR="/Applications" +declare -x LOCAL_DEVELOPER_DIR="/Library/Developer" +declare -x LOCAL_LIBRARY_DIR="/Library" +declare -x LOCROOT="/Users/nstudio/Documents/github/NativeScript/ios/project-template-tvos" +declare -x LOCSYMROOT="/Users/nstudio/Documents/github/NativeScript/ios/project-template-tvos" +declare -x LOGNAME="nstudio" +declare -x MACH_O_TYPE="mh_execute" +declare -x MAC_OS_X_PRODUCT_BUILD_VERSION="23F79" +declare -x MAC_OS_X_VERSION_ACTUAL="140500" +declare -x MAC_OS_X_VERSION_MAJOR="140000" +declare -x MAC_OS_X_VERSION_MINOR="140500" +declare -x MAKE_MERGEABLE="NO" +declare -x MERGEABLE_LIBRARY="NO" +declare -x MERGED_BINARY_TYPE="none" +declare -x MERGE_LINKED_LIBRARIES="NO" +declare -x METAL_LIBRARY_FILE_BASE="default" +declare -x METAL_LIBRARY_OUTPUT_DIR="/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Index.noindex/Build/Products/Debug-iphonesimulator/__PROJECT_NAME__.app" +declare -x MODULES_FOLDER_PATH="__PROJECT_NAME__.app/Modules" +declare -x MODULE_CACHE_DIR="/Users/nstudio/Library/Developer/Xcode/DerivedData/ModuleCache.noindex" +declare -x NATIVE_ARCH="arm64" +declare -x NATIVE_ARCH_32_BIT="arm" +declare -x NATIVE_ARCH_64_BIT="arm64" +declare -x NATIVE_ARCH_ACTUAL="arm64" +declare -x NO_COMMON="YES" +declare -x OBJC_ABI_VERSION="2" +declare -x OBJECT_FILE_DIR="/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Index.noindex/Build/Intermediates.noindex/__PROJECT_NAME__.build/Debug-iphonesimulator/__PROJECT_NAME__.build/Objects" +declare -x OBJECT_FILE_DIR_normal="/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Index.noindex/Build/Intermediates.noindex/__PROJECT_NAME__.build/Debug-iphonesimulator/__PROJECT_NAME__.build/Objects-normal" +declare -x OBJROOT="/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Index.noindex/Build/Intermediates.noindex" +declare -x OLDPWD +declare -x ONLY_ACTIVE_ARCH="YES" +declare -x OS="MACOS" +declare -x OSAC="/usr/bin/osacompile" +declare -x OTHER_LDFLAGS=" -ObjC -sectcreate __DATA __TNSMetadata \"/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Index.noindex/Build/Products/Debug-iphonesimulator/metadata-undefined_arch.bin\" -framework NativeScript -framework TKLiveSync -F\"/Users/nstudio/Documents/github/NativeScript/ios/project-template-tvos/internal\" -licucore -lz -lc++ -framework Foundation -framework UIKit -framework CoreGraphics -framework CoreServices -framework Security" +declare -x PACKAGE_TYPE="com.apple.package-type.wrapper.application" +declare -x PASCAL_STRINGS="YES" +declare -x PATH="/Applications/Xcode.app/Contents/SharedFrameworks/XCBuild.framework/Versions/A/PlugIns/XCBBuildService.bundle/Contents/PlugIns/XCBSpecifications.ideplugin/Contents/Resources:/Applications/Xcode.app/Contents/SharedFrameworks/XCBuild.framework/Versions/A/PlugIns/XCBBuildService.bundle/Contents/PlugIns/XCBSpecifications.ideplugin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/appleinternal/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/libexec:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/appleinternal/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/local/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" +declare -x PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES="/usr/include /usr/local/include /System/Library/Frameworks /System/Library/PrivateFrameworks /Applications/Xcode.app/Contents/Developer/Headers /Applications/Xcode.app/Contents/Developer/SDKs /Applications/Xcode.app/Contents/Developer/Platforms" +declare -x PBDEVELOPMENTPLIST_PATH="__PROJECT_NAME__.app/pbdevelopment.plist" +declare -x PER_ARCH_OBJECT_FILE_DIR="/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Index.noindex/Build/Intermediates.noindex/__PROJECT_NAME__.build/Debug-iphonesimulator/__PROJECT_NAME__.build/Objects-normal/undefined_arch" +declare -x PER_VARIANT_OBJECT_FILE_DIR="/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Index.noindex/Build/Intermediates.noindex/__PROJECT_NAME__.build/Debug-iphonesimulator/__PROJECT_NAME__.build/Objects-normal" +declare -x PKGINFO_FILE_PATH="/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Index.noindex/Build/Intermediates.noindex/__PROJECT_NAME__.build/Debug-iphonesimulator/__PROJECT_NAME__.build/PkgInfo" +declare -x PKGINFO_PATH="__PROJECT_NAME__.app/PkgInfo" +declare -x PLATFORM_DEVELOPER_APPLICATIONS_DIR="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications" +declare -x PLATFORM_DEVELOPER_BIN_DIR="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin" +declare -x PLATFORM_DEVELOPER_LIBRARY_DIR="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library" +declare -x PLATFORM_DEVELOPER_SDK_DIR="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs" +declare -x PLATFORM_DEVELOPER_TOOLS_DIR="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Tools" +declare -x PLATFORM_DEVELOPER_USR_DIR="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr" +declare -x PLATFORM_DIR="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform" +declare -x PLATFORM_DISPLAY_NAME="iOS Simulator" +declare -x PLATFORM_FAMILY_NAME="iOS" +declare -x PLATFORM_NAME="iphonesimulator" +declare -x PLATFORM_PREFERRED_ARCH="x86_64" +declare -x PLATFORM_PRODUCT_BUILD_VERSION="21F77" +declare -x PLIST_FILE_OUTPUT_FORMAT="binary" +declare -x PLUGINS_FOLDER_PATH="__PROJECT_NAME__.app/PlugIns" +declare -x PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR="YES" +declare -x PRECOMP_DESTINATION_DIR="/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Index.noindex/Build/Intermediates.noindex/__PROJECT_NAME__.build/Debug-iphonesimulator/__PROJECT_NAME__.build/PrefixHeaders" +declare -x PRESERVE_DEAD_CODE_INITS_AND_TERMS="NO" +declare -x PRIVATE_HEADERS_FOLDER_PATH="__PROJECT_NAME__.app/PrivateHeaders" +declare -x PROCESSED_INFOPLIST_PATH="/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Index.noindex/Build/Intermediates.noindex/__PROJECT_NAME__.build/Debug-iphonesimulator/__PROJECT_NAME__.build/Objects-normal/undefined_arch/Processed-Info.plist" +declare -x PRODUCT_BUNDLE_PACKAGE_TYPE="APPL" +declare -x PRODUCT_MODULE_NAME="__PROJECT_NAME__" +declare -x PRODUCT_NAME="__PROJECT_NAME__" +declare -x PRODUCT_SETTINGS_PATH="/Users/nstudio/Documents/github/NativeScript/ios/project-template-tvos/__PROJECT_NAME__/__PROJECT_NAME__-Info.plist" +declare -x PRODUCT_TYPE="com.apple.product-type.application" +declare -x PROFILING_CODE="NO" +declare -x PROJECT="__PROJECT_NAME__" +declare -x PROJECT_CLASS_PREFIX="NSC" +declare -x PROJECT_DERIVED_FILE_DIR="/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Index.noindex/Build/Intermediates.noindex/__PROJECT_NAME__.build/DerivedSources" +declare -x PROJECT_DIR="/Users/nstudio/Documents/github/NativeScript/ios/project-template-tvos" +declare -x PROJECT_FILE_PATH="/Users/nstudio/Documents/github/NativeScript/ios/project-template-tvos/__PROJECT_NAME__.xcodeproj" +declare -x PROJECT_NAME="__PROJECT_NAME__" +declare -x PROJECT_TEMP_DIR="/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Index.noindex/Build/Intermediates.noindex/__PROJECT_NAME__.build" +declare -x PROJECT_TEMP_ROOT="/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Index.noindex/Build/Intermediates.noindex" +declare -x PROVISIONING_PROFILE_REQUIRED="NO" +declare -x PROVISIONING_PROFILE_REQUIRED_YES_YES="YES" +declare -x PROVISIONING_PROFILE_SUPPORTED="YES" +declare -x PUBLIC_HEADERS_FOLDER_PATH="__PROJECT_NAME__.app/Headers" +declare -x PWD="/Users/nstudio/Documents/github/NativeScript/ios/project-template-tvos" +declare -x RECOMMENDED_IPHONEOS_DEPLOYMENT_TARGET="12.5" +declare -x RECURSIVE_SEARCH_PATHS_FOLLOW_SYMLINKS="YES" +declare -x REMOVE_CVS_FROM_RESOURCES="YES" +declare -x REMOVE_GIT_FROM_RESOURCES="YES" +declare -x REMOVE_HEADERS_FROM_EMBEDDED_BUNDLES="YES" +declare -x REMOVE_HG_FROM_RESOURCES="YES" +declare -x REMOVE_STATIC_EXECUTABLES_FROM_EMBEDDED_BUNDLES="YES" +declare -x REMOVE_SVN_FROM_RESOURCES="YES" +declare -x REZ_COLLECTOR_DIR="/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Index.noindex/Build/Intermediates.noindex/__PROJECT_NAME__.build/Debug-iphonesimulator/__PROJECT_NAME__.build/ResourceManagerResources" +declare -x REZ_OBJECTS_DIR="/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Index.noindex/Build/Intermediates.noindex/__PROJECT_NAME__.build/Debug-iphonesimulator/__PROJECT_NAME__.build/ResourceManagerResources/Objects" +declare -x REZ_SEARCH_PATHS="/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Index.noindex/Build/Products/Debug-iphonesimulator " +declare -x SCAN_ALL_SOURCE_FILES_FOR_INCLUDES="NO" +declare -x SCRIPTS_FOLDER_PATH="__PROJECT_NAME__.app/Scripts" +declare -x SCRIPT_INPUT_FILE_COUNT="0" +declare -x SCRIPT_INPUT_FILE_LIST_COUNT="0" +declare -x SCRIPT_OUTPUT_FILE_0="/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Index.noindex/Build/Products/Debug-iphonesimulator/metadata-arm64.bin" +declare -x SCRIPT_OUTPUT_FILE_1="/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Index.noindex/Build/Products/Debug-iphonesimulator/metadata-arm64e.bin" +declare -x SCRIPT_OUTPUT_FILE_2="/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Index.noindex/Build/Products/Debug-iphonesimulator/metadata-i386.bin" +declare -x SCRIPT_OUTPUT_FILE_3="/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Index.noindex/Build/Products/Debug-iphonesimulator/metadata-x86_64.bin" +declare -x SCRIPT_OUTPUT_FILE_COUNT="4" +declare -x SCRIPT_OUTPUT_FILE_LIST_COUNT="0" +declare -x SDKROOT="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.5.sdk" +declare -x SDK_DIR="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.5.sdk" +declare -x SDK_DIR_iphonesimulator="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.5.sdk" +declare -x SDK_DIR_iphonesimulator17_5="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.5.sdk" +declare -x SDK_NAME="iphonesimulator17.5" +declare -x SDK_NAMES="iphonesimulator17.5" +declare -x SDK_PRODUCT_BUILD_VERSION="21F77" +declare -x SDK_STAT_CACHE_DIR="/Users/nstudio/Library/Developer/Xcode/DerivedData" +declare -x SDK_STAT_CACHE_ENABLE="YES" +declare -x SDK_STAT_CACHE_PATH="/Users/nstudio/Library/Developer/Xcode/DerivedData/SDKStatCaches.noindex/iphonesimulator17.5-21F77-c098706a9f71eba4e76ae92ab367209a.sdkstatcache" +declare -x SDK_VERSION="17.5" +declare -x SDK_VERSION_ACTUAL="170500" +declare -x SDK_VERSION_MAJOR="170000" +declare -x SDK_VERSION_MINOR="170500" +declare -x SED="/usr/bin/sed" +declare -x SEPARATE_STRIP="NO" +declare -x SEPARATE_SYMBOL_EDIT="NO" +declare -x SET_DIR_MODE_OWNER_GROUP="YES" +declare -x SET_FILE_MODE_OWNER_GROUP="NO" +declare -x SHALLOW_BUNDLE="YES" +declare -x SHALLOW_BUNDLE_TRIPLE="ios-simulator" +declare -x SHALLOW_BUNDLE_ios_macabi="NO" +declare -x SHALLOW_BUNDLE_macos="NO" +declare -x SHARED_DERIVED_FILE_DIR="/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Index.noindex/Build/Products/Debug-iphonesimulator/DerivedSources" +declare -x SHARED_FRAMEWORKS_FOLDER_PATH="__PROJECT_NAME__.app/SharedFrameworks" +declare -x SHARED_PRECOMPS_DIR="/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Index.noindex/Build/Intermediates.noindex/PrecompiledHeaders" +declare -x SHARED_SUPPORT_FOLDER_PATH="__PROJECT_NAME__.app/SharedSupport" +declare -x SHELL="/bin/zsh" +declare -x SHLVL="3" +declare -x SKIP_INSTALL="NO" +declare -x SOURCE_ROOT="/Users/nstudio/Documents/github/NativeScript/ios/project-template-tvos" +declare -x SRCROOT="/Users/nstudio/Documents/github/NativeScript/ios/project-template-tvos" +declare -x SSH_AUTH_SOCK="/private/tmp/com.apple.launchd.ANMUd92AHB/Listeners" +declare -x STRINGSDATA_DIR="/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Index.noindex/Build/Intermediates.noindex/__PROJECT_NAME__.build/Debug-iphonesimulator/__PROJECT_NAME__.build/Objects-normal/undefined_arch" +declare -x STRINGSDATA_ROOT="/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Index.noindex/Build/Intermediates.noindex/__PROJECT_NAME__.build/Debug-iphonesimulator/__PROJECT_NAME__.build" +declare -x STRINGS_FILE_INFOPLIST_RENAME="YES" +declare -x STRINGS_FILE_OUTPUT_ENCODING="binary" +declare -x STRIP_BITCODE_FROM_COPIED_FILES="NO" +declare -x STRIP_INSTALLED_PRODUCT="NO" +declare -x STRIP_STYLE="all" +declare -x STRIP_SWIFT_SYMBOLS="YES" +declare -x SUPPORTED_DEVICE_FAMILIES="1,2" +declare -x SUPPORTED_PLATFORMS="iphoneos iphonesimulator" +declare -x SUPPORTS_MACCATALYST="NO" +declare -x SUPPORTS_ON_DEMAND_RESOURCES="YES" +declare -x SUPPORTS_TEXT_BASED_API="NO" +declare -x SUPPORTS_UIKITFORMAC="YES" +declare -x SUPPRESS_WARNINGS="NO" +declare -x SWIFT_COMPILATION_MODE="wholemodule" +declare -x SWIFT_EMIT_LOC_STRINGS="NO" +declare -x SWIFT_INDEX_STORE_ENABLE="NO" +declare -x SWIFT_OBJC_BRIDGING_HEADER="/Users/nstudio/Documents/github/NativeScript/ios/project-template-tvos/internal/Swift-ObjC-Bridging-Header.h" +declare -x SWIFT_OPTIMIZATION_LEVEL="-Onone" +declare -x SWIFT_PLATFORM_TARGET_PREFIX="ios" +declare -x SWIFT_RESPONSE_FILE_PATH_normal_arm64="/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Index.noindex/Build/Intermediates.noindex/__PROJECT_NAME__.build/Debug-iphonesimulator/__PROJECT_NAME__.build/Objects-normal/arm64/__PROJECT_NAME__.SwiftFileList" +declare -x SWIFT_VERSION="4.2" +declare -x SYMROOT="/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Index.noindex/Build/Products" +declare -x SYSTEM_ADMIN_APPS_DIR="/Applications/Utilities" +declare -x SYSTEM_APPS_DIR="/Applications" +declare -x SYSTEM_CORE_SERVICES_DIR="/System/Library/CoreServices" +declare -x SYSTEM_DEMOS_DIR="/Applications/Extras" +declare -x SYSTEM_DEVELOPER_APPS_DIR="/Applications/Xcode.app/Contents/Developer/Applications" +declare -x SYSTEM_DEVELOPER_BIN_DIR="/Applications/Xcode.app/Contents/Developer/usr/bin" +declare -x SYSTEM_DEVELOPER_DEMOS_DIR="/Applications/Xcode.app/Contents/Developer/Applications/Utilities/Built Examples" +declare -x SYSTEM_DEVELOPER_DIR="/Applications/Xcode.app/Contents/Developer" +declare -x SYSTEM_DEVELOPER_DOC_DIR="/Applications/Xcode.app/Contents/Developer/ADC Reference Library" +declare -x SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR="/Applications/Xcode.app/Contents/Developer/Applications/Graphics Tools" +declare -x SYSTEM_DEVELOPER_JAVA_TOOLS_DIR="/Applications/Xcode.app/Contents/Developer/Applications/Java Tools" +declare -x SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR="/Applications/Xcode.app/Contents/Developer/Applications/Performance Tools" +declare -x SYSTEM_DEVELOPER_RELEASENOTES_DIR="/Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes" +declare -x SYSTEM_DEVELOPER_TOOLS="/Applications/Xcode.app/Contents/Developer/Tools" +declare -x SYSTEM_DEVELOPER_TOOLS_DOC_DIR="/Applications/Xcode.app/Contents/Developer/ADC Reference Library/documentation/DeveloperTools" +declare -x SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR="/Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes/DeveloperTools" +declare -x SYSTEM_DEVELOPER_USR_DIR="/Applications/Xcode.app/Contents/Developer/usr" +declare -x SYSTEM_DEVELOPER_UTILITIES_DIR="/Applications/Xcode.app/Contents/Developer/Applications/Utilities" +declare -x SYSTEM_DEXT_INSTALL_PATH="/System/Library/DriverExtensions" +declare -x SYSTEM_DOCUMENTATION_DIR="/Library/Documentation" +declare -x SYSTEM_EXTENSIONS_FOLDER_PATH="__PROJECT_NAME__.app/SystemExtensions" +declare -x SYSTEM_EXTENSIONS_FOLDER_PATH_SHALLOW_BUNDLE_NO="__PROJECT_NAME__.app/Library/SystemExtensions" +declare -x SYSTEM_EXTENSIONS_FOLDER_PATH_SHALLOW_BUNDLE_YES="__PROJECT_NAME__.app/SystemExtensions" +declare -x SYSTEM_KEXT_INSTALL_PATH="/System/Library/Extensions" +declare -x SYSTEM_LIBRARY_DIR="/System/Library" +declare -x TAPI_DEMANGLE="YES" +declare -x TAPI_ENABLE_PROJECT_HEADERS="NO" +declare -x TAPI_LANGUAGE="objective-c" +declare -x TAPI_LANGUAGE_STANDARD="compiler-default" +declare -x TAPI_USE_SRCROOT="YES" +declare -x TAPI_VERIFY_MODE="Pedantic" +declare -x TARGETED_DEVICE_FAMILY="1,2" +declare -x TARGETNAME="__PROJECT_NAME__" +declare -x TARGET_BUILD_DIR="/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Index.noindex/Build/Products/Debug-iphonesimulator" +declare -x TARGET_NAME="__PROJECT_NAME__" +declare -x TARGET_TEMP_DIR="/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Index.noindex/Build/Intermediates.noindex/__PROJECT_NAME__.build/Debug-iphonesimulator/__PROJECT_NAME__.build" +declare -x TEMP_DIR="/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Index.noindex/Build/Intermediates.noindex/__PROJECT_NAME__.build/Debug-iphonesimulator/__PROJECT_NAME__.build" +declare -x TEMP_FILES_DIR="/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Index.noindex/Build/Intermediates.noindex/__PROJECT_NAME__.build/Debug-iphonesimulator/__PROJECT_NAME__.build" +declare -x TEMP_FILE_DIR="/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Index.noindex/Build/Intermediates.noindex/__PROJECT_NAME__.build/Debug-iphonesimulator/__PROJECT_NAME__.build" +declare -x TEMP_ROOT="/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Index.noindex/Build/Intermediates.noindex" +declare -x TEST_FRAMEWORK_SEARCH_PATHS=" /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.5.sdk/Developer/Library/Frameworks" +declare -x TEST_LIBRARY_SEARCH_PATHS=" /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/lib" +declare -x TMPDIR="/var/folders/0s/pcxnlsz53zg7d8gv5w4wk2qc0000gn/T/" +declare -x TOOLCHAINS="com.apple.dt.toolchain.XcodeDefault" +declare -x TOOLCHAIN_DIR="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain" +declare -x TREAT_MISSING_BASELINES_AS_TEST_FAILURES="NO" +declare -x UID="501" +declare -x UNINSTALLED_PRODUCTS_DIR="/Users/nstudio/Library/Developer/Xcode/DerivedData/__PROJECT_NAME__-dtbshqmesllkzbdzendhaafmcawu/Index.noindex/Build/Intermediates.noindex/UninstalledProducts" +declare -x UNLOCALIZED_RESOURCES_FOLDER_PATH="__PROJECT_NAME__.app" +declare -x UNLOCALIZED_RESOURCES_FOLDER_PATH_SHALLOW_BUNDLE_NO="__PROJECT_NAME__.app/Resources" +declare -x UNLOCALIZED_RESOURCES_FOLDER_PATH_SHALLOW_BUNDLE_YES="__PROJECT_NAME__.app" +declare -x UNSTRIPPED_PRODUCT="NO" +declare -x USER="nstudio" +declare -x USER_APPS_DIR="/Users/nstudio/Applications" +declare -x USER_LIBRARY_DIR="/Users/nstudio/Library" +declare -x USE_DYNAMIC_NO_PIC="YES" +declare -x USE_HEADERMAP="YES" +declare -x USE_HEADER_SYMLINKS="NO" +declare -x UsePerConfigurationBuildLocations="YES" +declare -x VALIDATE_DEVELOPMENT_ASSET_PATHS="YES_ERROR" +declare -x VALIDATE_PRODUCT="NO" +declare -x VALIDATE_WORKSPACE="YES" +declare -x VALID_ARCHS="arm64 arm64e i386 x86_64" +declare -x VERBOSE_PBXCP="NO" +declare -x VERSIONPLIST_PATH="__PROJECT_NAME__.app/version.plist" +declare -x VERSION_INFO_BUILDER="nstudio" +declare -x VERSION_INFO_FILE="__PROJECT_NAME___vers.c" +declare -x VERSION_INFO_STRING="\"@(#)PROGRAM:__PROJECT_NAME__ PROJECT:__PROJECT_NAME__-\"" +declare -x WRAPPER_EXTENSION="app" +declare -x WRAPPER_NAME="__PROJECT_NAME__.app" +declare -x WRAPPER_SUFFIX=".app" +declare -x WRAP_ASSET_PACKS_IN_SEPARATE_DIRECTORIES="NO" +declare -x XCODE_APP_SUPPORT_DIR="/Applications/Xcode.app/Contents/Developer/Library/Xcode" +declare -x XCODE_PRODUCT_BUILD_VERSION="15F31d" +declare -x XCODE_VERSION_ACTUAL="1540" +declare -x XCODE_VERSION_MAJOR="1500" +declare -x XCODE_VERSION_MINOR="1540" +declare -x XPCSERVICES_FOLDER_PATH="__PROJECT_NAME__.app/XPCServices" +declare -x XPC_FLAGS="0x0" +declare -x XPC_SERVICE_NAME="0" +declare -x YACC="yacc" +declare -x _WRAPPER_CONTENTS_DIR_SHALLOW_BUNDLE_NO="/Contents" +declare -x _WRAPPER_PARENT_PATH_SHALLOW_BUNDLE_NO="/.." +declare -x _WRAPPER_RESOURCES_DIR_SHALLOW_BUNDLE_NO="/Resources" +declare -x __CFBundleIdentifier="com.apple.dt.Xcode" +declare -x __CF_USER_TEXT_ENCODING="0x1F5:0x0:0x0" +declare -x __IS_NOT_MACOS="YES" +declare -x __IS_NOT_MACOS_macosx="NO" +declare -x __IS_NOT_SIMULATOR="NO" +declare -x __IS_NOT_SIMULATOR_simulator="NO" +declare -x arch="undefined_arch" +declare -x variant="normal" +set -o posix +set -e diff --git a/project-template-tvos/__PROJECT_NAME__.xcodeproj/project.pbxproj b/project-template-tvos/__PROJECT_NAME__.xcodeproj/project.pbxproj new file mode 100644 index 00000000..a6dce48e --- /dev/null +++ b/project-template-tvos/__PROJECT_NAME__.xcodeproj/project.pbxproj @@ -0,0 +1,511 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 54; + objects = { + +/* Begin PBXBuildFile section */ + 39940D9122C4EF600050DDE1 /* NativeScript.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 39940D8C22C4EAAA0050DDE1 /* NativeScript.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + 39940E1C22C5DFFF0050DDE1 /* TKLiveSync.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 39940E1B22C5DFFF0050DDE1 /* TKLiveSync.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + 858B842D18CA22B800AB12DE /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 858B833A18CA111C00AB12DE /* InfoPlist.strings */; }; + AAA0AADB2A54B96B00EE55A4 /* NativeScriptStart.m in Sources */ = {isa = PBXBuildFile; fileRef = AAA0AADA2A54B96B00EE55A4 /* NativeScriptStart.m */; }; + CD45EE7C18DC2D5800FB50C0 /* app in Resources */ = {isa = PBXBuildFile; fileRef = CD45EE7A18DC2D5800FB50C0 /* app */; }; + CD62955D1BB2678900AE3A93 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = CD62955C1BB2678900AE3A93 /* main.m */; }; +/* End PBXBuildFile section */ + +/* Begin PBXCopyFilesBuildPhase section */ + 85F5BDFC1A9363BE006B9701 /* Embed Frameworks */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 10; + files = ( + 39940D9122C4EF600050DDE1 /* NativeScript.xcframework in Embed Frameworks */, + 39940E1C22C5DFFF0050DDE1 /* TKLiveSync.xcframework in Embed Frameworks */, + ); + name = "Embed Frameworks"; + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + 391174B521F1D7BF00BA2583 /* nativescript-build.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = "nativescript-build.xcconfig"; path = "internal/nativescript-build.xcconfig"; sourceTree = SOURCE_ROOT; }; + 391174B721F1D99900BA2583 /* plugins-release.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = "plugins-release.xcconfig"; sourceTree = SOURCE_ROOT; }; + 391174B821F1D99900BA2583 /* plugins-debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = "plugins-debug.xcconfig"; sourceTree = SOURCE_ROOT; }; + 39940D8122C4E84C0050DDE1 /* __PROJECT_NAME__.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = __PROJECT_NAME__.entitlements; sourceTree = ""; }; + 39940D8C22C4EAAA0050DDE1 /* NativeScript.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = NativeScript.xcframework; path = internal/NativeScript.xcframework; sourceTree = ""; }; + 39940E1B22C5DFFF0050DDE1 /* TKLiveSync.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = TKLiveSync.xcframework; path = internal/TKLiveSync.xcframework; sourceTree = ""; }; + 42C751E2232B769100186695 /* nativescript-pre-link */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = "nativescript-pre-link"; path = "internal/nativescript-pre-link"; sourceTree = SOURCE_ROOT; }; + 42C751E3232B769100186695 /* strip-dynamic-framework-architectures.sh */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; name = "strip-dynamic-framework-architectures.sh"; path = "internal/strip-dynamic-framework-architectures.sh"; sourceTree = SOURCE_ROOT; }; + 42C751E4232B769100186695 /* nsld.sh */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; name = nsld.sh; path = internal/nsld.sh; sourceTree = SOURCE_ROOT; }; + 42C751E5232B769100186695 /* nativescript-post-build */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = "nativescript-post-build"; path = "internal/nativescript-post-build"; sourceTree = SOURCE_ROOT; }; + 42C751E6232B769100186695 /* nativescript-pre-build */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = "nativescript-pre-build"; path = "internal/nativescript-pre-build"; sourceTree = SOURCE_ROOT; }; + 858B832E18CA111C00AB12DE /* __PROJECT_NAME__.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = __PROJECT_NAME__.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 858B833918CA111C00AB12DE /* __PROJECT_NAME__-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "__PROJECT_NAME__-Info.plist"; sourceTree = ""; }; + 858B833B18CA111C00AB12DE /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; + 858B833F18CA111C00AB12DE /* __PROJECT_NAME__-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "__PROJECT_NAME__-Prefix.pch"; sourceTree = ""; }; + 858B843318CA22B800AB12DE /* __PROJECT_NAME__.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = __PROJECT_NAME__.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 930F05DB22671AE300D269DC /* Swift-ObjC-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "Swift-ObjC-Bridging-Header.h"; path = "internal/Swift-ObjC-Bridging-Header.h"; sourceTree = SOURCE_ROOT; }; + AA5E89E22B5C318D008AFA28 /* macros.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = macros.h; path = internal/macros.h; sourceTree = SOURCE_ROOT; }; + AAA0AADA2A54B96B00EE55A4 /* NativeScriptStart.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = NativeScriptStart.m; path = internal/NativeScriptStart.m; sourceTree = SOURCE_ROOT; }; + AAA0AADC2A54B97E00EE55A4 /* NativeScriptStart.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = NativeScriptStart.h; path = internal/NativeScriptStart.h; sourceTree = SOURCE_ROOT; }; + CD45EE7A18DC2D5800FB50C0 /* app */ = {isa = PBXFileReference; lastKnownFileType = folder; path = app; sourceTree = ""; }; + CD62955C1BB2678900AE3A93 /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = internal/main.m; sourceTree = SOURCE_ROOT; }; + CDD59A261BB43B5D00EC2671 /* build-debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = "build-debug.xcconfig"; sourceTree = ""; }; + CDD59A271BB43B5D00EC2671 /* build-release.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = "build-release.xcconfig"; sourceTree = ""; }; + CDF4743E1BA4855C0087EA85 /* build.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = build.xcconfig; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 858B83F418CA22B800AB12DE /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 39940D8E22C4EBCC0050DDE1 /* Sources */ = { + isa = PBXGroup; + children = ( + AA5E89E22B5C318D008AFA28 /* macros.h */, + CD62955C1BB2678900AE3A93 /* main.m */, + AAA0AADA2A54B96B00EE55A4 /* NativeScriptStart.m */, + AAA0AADC2A54B97E00EE55A4 /* NativeScriptStart.h */, + 858B833F18CA111C00AB12DE /* __PROJECT_NAME__-Prefix.pch */, + ); + name = Sources; + sourceTree = ""; + }; + 42C751E1232B767700186695 /* Build Scripts */ = { + isa = PBXGroup; + children = ( + 42C751E5232B769100186695 /* nativescript-post-build */, + 42C751E6232B769100186695 /* nativescript-pre-build */, + 42C751E2232B769100186695 /* nativescript-pre-link */, + 42C751E4232B769100186695 /* nsld.sh */, + 42C751E3232B769100186695 /* strip-dynamic-framework-architectures.sh */, + ); + name = "Build Scripts"; + sourceTree = ""; + }; + 858B832518CA111C00AB12DE = { + isa = PBXGroup; + children = ( + E070579D1B39A9D000214BF1 /* Resources */, + 858B833718CA111C00AB12DE /* __PROJECT_NAME__ */, + 858B833018CA111C00AB12DE /* Frameworks */, + 858B832F18CA111C00AB12DE /* Products */, + ); + sourceTree = ""; + }; + 858B832F18CA111C00AB12DE /* Products */ = { + isa = PBXGroup; + children = ( + 858B832E18CA111C00AB12DE /* __PROJECT_NAME__.app */, + 858B843318CA22B800AB12DE /* __PROJECT_NAME__.app */, + ); + name = Products; + sourceTree = ""; + }; + 858B833018CA111C00AB12DE /* Frameworks */ = { + isa = PBXGroup; + children = ( + 39940E1B22C5DFFF0050DDE1 /* TKLiveSync.xcframework */, + 39940D8C22C4EAAA0050DDE1 /* NativeScript.xcframework */, + ); + name = Frameworks; + sourceTree = ""; + }; + 858B833718CA111C00AB12DE /* __PROJECT_NAME__ */ = { + isa = PBXGroup; + children = ( + 39940D8E22C4EBCC0050DDE1 /* Sources */, + 39940D8122C4E84C0050DDE1 /* __PROJECT_NAME__.entitlements */, + CD45EE7A18DC2D5800FB50C0 /* app */, + 858B833818CA111C00AB12DE /* Supporting Files */, + ); + path = __PROJECT_NAME__; + sourceTree = ""; + }; + 858B833818CA111C00AB12DE /* Supporting Files */ = { + isa = PBXGroup; + children = ( + 42C751E1232B767700186695 /* Build Scripts */, + 391174B821F1D99900BA2583 /* plugins-debug.xcconfig */, + 391174B721F1D99900BA2583 /* plugins-release.xcconfig */, + CDF4743E1BA4855C0087EA85 /* build.xcconfig */, + CDD59A261BB43B5D00EC2671 /* build-debug.xcconfig */, + CDD59A271BB43B5D00EC2671 /* build-release.xcconfig */, + 391174B521F1D7BF00BA2583 /* nativescript-build.xcconfig */, + 858B833918CA111C00AB12DE /* __PROJECT_NAME__-Info.plist */, + 858B833A18CA111C00AB12DE /* InfoPlist.strings */, + 930F05DB22671AE300D269DC /* Swift-ObjC-Bridging-Header.h */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; + E070579D1B39A9D000214BF1 /* Resources */ = { + isa = PBXGroup; + children = ( + ); + name = Resources; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 858B83EF18CA22B800AB12DE /* __PROJECT_NAME__ */ = { + isa = PBXNativeTarget; + buildConfigurationList = 858B843018CA22B800AB12DE /* Build configuration list for PBXNativeTarget "__PROJECT_NAME__" */; + buildPhases = ( + C97FD7AC1ADE5369004DB2A4 /* NativeScript PreBuild */, + 858B83F218CA22B800AB12DE /* Sources */, + CD62955B1BB2651D00AE3A93 /* NativeScript PreLink */, + 858B83F418CA22B800AB12DE /* Frameworks */, + 858B842C18CA22B800AB12DE /* Resources */, + 85F5BDFC1A9363BE006B9701 /* Embed Frameworks */, + CD3EAD351B05FF060042DBFC /* NativeScript PostBuild */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = __PROJECT_NAME__; + productName = JDBridgeApp; + productReference = 858B843318CA22B800AB12DE /* __PROJECT_NAME__.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 858B832618CA111C00AB12DE /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = YES; + CLASSPREFIX = NSC; + LastUpgradeCheck = 1500; + ORGANIZATIONNAME = NativeScript; + TargetAttributes = { + 858B83EF18CA22B800AB12DE = { + LastSwiftMigration = 1520; + ProvisioningStyle = Automatic; + }; + }; + }; + buildConfigurationList = 858B832918CA111C00AB12DE /* Build configuration list for PBXProject "__PROJECT_NAME__" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 858B832518CA111C00AB12DE; + productRefGroup = 858B832F18CA111C00AB12DE /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 858B83EF18CA22B800AB12DE /* __PROJECT_NAME__ */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 858B842C18CA22B800AB12DE /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + CD45EE7C18DC2D5800FB50C0 /* app in Resources */, + 858B842D18CA22B800AB12DE /* InfoPlist.strings in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + C97FD7AC1ADE5369004DB2A4 /* NativeScript PreBuild */ = { + isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "NativeScript PreBuild"; + outputPaths = ( + "$CONFIGURATION_BUILD_DIR/metadata-arm64.bin", + "$CONFIGURATION_BUILD_DIR/metadata-arm64e.bin", + "$CONFIGURATION_BUILD_DIR/metadata-i386.bin", + "$CONFIGURATION_BUILD_DIR/metadata-x86_64.bin", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"$SRCROOT/internal/nativescript-pre-build\"\n"; + showEnvVarsInLog = 0; + }; + CD3EAD351B05FF060042DBFC /* NativeScript PostBuild */ = { + isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "NativeScript PostBuild"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"$SRCROOT/internal/nativescript-post-build\"\n"; + showEnvVarsInLog = 0; + }; + CD62955B1BB2651D00AE3A93 /* NativeScript PreLink */ = { + isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "NativeScript PreLink"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"$SRCROOT/internal/nativescript-pre-link\"\n"; + showEnvVarsInLog = 0; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 858B83F218CA22B800AB12DE /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + CD62955D1BB2678900AE3A93 /* main.m in Sources */, + AAA0AADB2A54B96B00EE55A4 /* NativeScriptStart.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXVariantGroup section */ + 858B833A18CA111C00AB12DE /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + 858B833B18CA111C00AB12DE /* en */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 858B835818CA111C00AB12DE /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD)"; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = NO; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DERIVE_UIKITFORMAC_PRODUCT_BUNDLE_IDENTIFIER = YES; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + ENABLE_USER_SCRIPT_SANDBOXING = NO; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SUPPORTS_UIKITFORMAC = YES; + SWIFT_OBJC_BRIDGING_HEADER = "$SRCROOT/internal/Swift-ObjC-Bridging-Header.h"; + SWIFT_VERSION = 4.2; + }; + name = Debug; + }; + 858B835918CA111C00AB12DE /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD)"; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = NO; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = YES; + DERIVE_UIKITFORMAC_PRODUCT_BUNDLE_IDENTIFIER = YES; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_USER_SCRIPT_SANDBOXING = NO; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; + SDKROOT = iphoneos; + SUPPORTS_UIKITFORMAC = YES; + SWIFT_OBJC_BRIDGING_HEADER = "$SRCROOT/internal/Swift-ObjC-Bridging-Header.h"; + SWIFT_VERSION = 4.2; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 858B843118CA22B800AB12DE /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = CDD59A261BB43B5D00EC2671 /* build-debug.xcconfig */; + buildSettings = { + ARCHS = "$(ARCHS_STANDARD)"; + CODE_SIGN_ENTITLEMENTS = __PROJECT_NAME__/__PROJECT_NAME__.entitlements; + ENABLE_BITCODE = NO; + "ENABLE_HARDENED_RUNTIME[sdk=macosx*]" = YES; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "__PROJECT_NAME__/__PROJECT_NAME__-Prefix.pch"; + GCC_PREPROCESSOR_DEFINITIONS = ( + "$(inherited)", + "DEBUG=1", + "NS_SWIFTUI_BOOT=$(NS_SWIFTUI_BOOT:default=0)", + ); + HEADER_SEARCH_PATHS = ( + "$(inherited)", + "\"$SRCROOT/internal/Swift-Modules\"", + "\"$(SRCROOT)/internal\"", + ); + INFOPLIST_FILE = "$(SRCROOT)/__PROJECT_NAME__/__PROJECT_NAME__-Info.plist"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_NAME = __PROJECT_NAME__; + SUPPORTED_PLATFORMS = "appletvos appletvsimulator"; + SUPPORTS_MACCATALYST = NO; + SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; + SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO; + TARGETED_DEVICE_FAMILY = 3; + WRAPPER_EXTENSION = app; + }; + name = Debug; + }; + 858B843218CA22B800AB12DE /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = CDD59A271BB43B5D00EC2671 /* build-release.xcconfig */; + buildSettings = { + ARCHS = "$(ARCHS_STANDARD)"; + CODE_SIGN_ENTITLEMENTS = __PROJECT_NAME__/__PROJECT_NAME__.entitlements; + ENABLE_BITCODE = NO; + "ENABLE_HARDENED_RUNTIME[sdk=macosx*]" = YES; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "__PROJECT_NAME__/__PROJECT_NAME__-Prefix.pch"; + GCC_PREPROCESSOR_DEFINITIONS = ( + "$(inherited)", + "NS_SWIFTUI_BOOT=$(NS_SWIFTUI_BOOT:default=0)", + ); + HEADER_SEARCH_PATHS = ( + "$(inherited)", + "$SRCROOT/internal/Swift-Modules", + "$(SRCROOT)/internal", + ); + INFOPLIST_FILE = "$(SRCROOT)/__PROJECT_NAME__/__PROJECT_NAME__-Info.plist"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_NAME = __PROJECT_NAME__; + SUPPORTED_PLATFORMS = "appletvos appletvsimulator"; + SUPPORTS_MACCATALYST = NO; + SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; + SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO; + TARGETED_DEVICE_FAMILY = 3; + WRAPPER_EXTENSION = app; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 858B832918CA111C00AB12DE /* Build configuration list for PBXProject "__PROJECT_NAME__" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 858B835818CA111C00AB12DE /* Debug */, + 858B835918CA111C00AB12DE /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 858B843018CA22B800AB12DE /* Build configuration list for PBXNativeTarget "__PROJECT_NAME__" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 858B843118CA22B800AB12DE /* Debug */, + 858B843218CA22B800AB12DE /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 858B832618CA111C00AB12DE /* Project object */; +} diff --git a/project-template-tvos/__PROJECT_NAME__.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/project-template-tvos/__PROJECT_NAME__.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 00000000..18d98100 --- /dev/null +++ b/project-template-tvos/__PROJECT_NAME__.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/project-template-tvos/__PROJECT_NAME__.xcodeproj/xcshareddata/xcschemes/__PROJECT_NAME__.xcscheme b/project-template-tvos/__PROJECT_NAME__.xcodeproj/xcshareddata/xcschemes/__PROJECT_NAME__.xcscheme new file mode 100644 index 00000000..ecbb26ff --- /dev/null +++ b/project-template-tvos/__PROJECT_NAME__.xcodeproj/xcshareddata/xcschemes/__PROJECT_NAME__.xcscheme @@ -0,0 +1,87 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/project-template-tvos/__PROJECT_NAME__/__PROJECT_NAME__-Prefix.pch b/project-template-tvos/__PROJECT_NAME__/__PROJECT_NAME__-Prefix.pch new file mode 100644 index 00000000..6759b6c7 --- /dev/null +++ b/project-template-tvos/__PROJECT_NAME__/__PROJECT_NAME__-Prefix.pch @@ -0,0 +1,12 @@ +// +// Prefix header +// +// The contents of this file are implicitly included at the beginning of every source file. +// + +#import + +#ifdef __OBJC__ + #import + #import +#endif diff --git a/project-template-tvos/__PROJECT_NAME__/__PROJECT_NAME__.entitlements b/project-template-tvos/__PROJECT_NAME__/__PROJECT_NAME__.entitlements new file mode 100644 index 00000000..f9105be8 --- /dev/null +++ b/project-template-tvos/__PROJECT_NAME__/__PROJECT_NAME__.entitlements @@ -0,0 +1,12 @@ + + + + + com.apple.security.app-sandbox + + com.apple.security.cs.allow-unsigned-executable-memory + + com.apple.security.network.client + + + diff --git a/project-template-tvos/__PROJECT_NAME__/build-debug.xcconfig b/project-template-tvos/__PROJECT_NAME__/build-debug.xcconfig new file mode 100644 index 00000000..4526c022 --- /dev/null +++ b/project-template-tvos/__PROJECT_NAME__/build-debug.xcconfig @@ -0,0 +1,3 @@ +// @COCOAPODS_SILENCE_WARNINGS@ // +#include "build.xcconfig" +#include "../plugins-debug.xcconfig" diff --git a/project-template-tvos/__PROJECT_NAME__/build-release.xcconfig b/project-template-tvos/__PROJECT_NAME__/build-release.xcconfig new file mode 100644 index 00000000..f65f3e98 --- /dev/null +++ b/project-template-tvos/__PROJECT_NAME__/build-release.xcconfig @@ -0,0 +1,3 @@ +// @COCOAPODS_SILENCE_WARNINGS@ // +#include "build.xcconfig" +#include "../plugins-release.xcconfig" diff --git a/project-template-tvos/__PROJECT_NAME__/build.xcconfig b/project-template-tvos/__PROJECT_NAME__/build.xcconfig new file mode 100644 index 00000000..65686340 --- /dev/null +++ b/project-template-tvos/__PROJECT_NAME__/build.xcconfig @@ -0,0 +1,3 @@ +#include "../internal/nativescript-build.xcconfig" +CLANG_ENABLE_MODULES = NO; +CLANG_MODULES_AUTOLINK = NO; diff --git a/project-template-tvos/__PROJECT_NAME__/en.lproj/InfoPlist.strings b/project-template-tvos/__PROJECT_NAME__/en.lproj/InfoPlist.strings new file mode 100644 index 00000000..477b28ff --- /dev/null +++ b/project-template-tvos/__PROJECT_NAME__/en.lproj/InfoPlist.strings @@ -0,0 +1,2 @@ +/* Localized versions of Info.plist keys */ + diff --git a/project-template-tvos/internal/NativeScriptStart.h b/project-template-tvos/internal/NativeScriptStart.h new file mode 100644 index 00000000..d55d0693 --- /dev/null +++ b/project-template-tvos/internal/NativeScriptStart.h @@ -0,0 +1,19 @@ +// +// NativeScriptStart.h +// +// Created by Team nStudio on 7/5/23. +// Copyright © 2023 NativeScript. All rights reserved. +// + +#ifndef NativeScriptStart_h +#define NativeScriptStart_h + + +#endif /* NativeScriptStart_h */ + +@interface NativeScriptStart : NSObject + ++ (void)setup; ++ (void)boot; + +@end diff --git a/project-template-tvos/internal/NativeScriptStart.m b/project-template-tvos/internal/NativeScriptStart.m new file mode 100644 index 00000000..563251a7 --- /dev/null +++ b/project-template-tvos/internal/NativeScriptStart.m @@ -0,0 +1,73 @@ +// +// NativeScriptStart.m +// +// Created by Team nStudio on 7/5/23. +// Copyright © 2023 NativeScript. All rights reserved. +// + +#import +#import +#import + +#ifdef DEBUG +#include +#include +#include "macros.h" +#endif + +extern char startOfMetadataSection __asm("section$start$__DATA$__TNSMetadata"); +NativeScript* nativescriptStart; + +@implementation NativeScriptStart + ++(void)setup{ + @autoreleasepool { + NSString* baseDir = [[NSBundle mainBundle] resourcePath]; + + #ifdef DEBUG + int refreshRequestSubscription; + notify_register_dispatch(NOTIFICATION("RefreshRequest"), &refreshRequestSubscription, dispatch_get_main_queue(), ^(int token) { + notify_post(NOTIFICATION("AppRefreshStarted")); + bool success = [nativescriptStart liveSync]; + if (success) { + notify_post(NOTIFICATION("AppRefreshSucceeded")); + } else { + NSLog(@"__onLiveSync call failed"); + notify_post(NOTIFICATION("AppRefreshFailed")); + } + }); + + TNSInitializeLiveSync(); + if (getenv("TNSBaseDir")) { + baseDir = @(getenv("TNSBaseDir")); + } + #endif + + void* metadataPtr = &startOfMetadataSection; + + bool isDebug = + #ifdef DEBUG + true; + #else + false; + #endif + + Config* config = [[Config alloc] init]; + config.IsDebug = isDebug; + config.LogToSystemConsole = isDebug; + config.MetadataPtr = metadataPtr; + config.BaseDir = baseDir; +// config.ArgumentsCount = argc; +// config.Arguments = argv; + + nativescriptStart = [[NativeScript alloc] initWithConfig:config]; + + } + +} ++(void)boot{ + [nativescriptStart runMainApplication]; +} +@end + + diff --git a/project-template-tvos/internal/README.md b/project-template-tvos/internal/README.md new file mode 100644 index 00000000..cab084cb --- /dev/null +++ b/project-template-tvos/internal/README.md @@ -0,0 +1,2 @@ +The contents of this folder is specific for the current version of the runtime. +It will be wiped and replaced on each platform update. diff --git a/project-template-tvos/internal/Swift-ObjC-Bridging-Header.h b/project-template-tvos/internal/Swift-ObjC-Bridging-Header.h new file mode 100644 index 00000000..5683610d --- /dev/null +++ b/project-template-tvos/internal/Swift-ObjC-Bridging-Header.h @@ -0,0 +1,18 @@ +// +// Swift-ObjC-Bridging-Header.h +// __PROJECT_NAME__ +// +// Created by Teodor Dermendzhiev on 4/17/19. +// Copyright © 2019 Progress. All rights reserved. +// + +// Intentionally left blank. Needed for the generation of all Swift classes in +// the *-Swift.h*. +// https://developer.apple.com/documentation/swift/imported_c_and_objective-c_apis/importing_objective-c_into_swift + +#import "TargetConditionals.h" + +#ifndef TARGET_OS_WATCH + #import "NativeScript/NativeScript.h" + #import "NativeScriptStart.h" +#endif diff --git a/project-template-tvos/internal/macros.h b/project-template-tvos/internal/macros.h new file mode 100644 index 00000000..03082095 --- /dev/null +++ b/project-template-tvos/internal/macros.h @@ -0,0 +1,17 @@ +// +// macros.h +// sampleng +// +// Created by Team nStudio on 1/19/24. +// Copyright © 2024 NativeScript. All rights reserved. +// + +#ifndef macros_h +#define macros_h + +#define NOTIFICATION(name) \ + [[NSString stringWithFormat:@"%@:NativeScript.Debug.%s", \ + [[NSBundle mainBundle] bundleIdentifier], name] UTF8String] + + +#endif /* macros_h */ diff --git a/project-template-tvos/internal/main.m b/project-template-tvos/internal/main.m new file mode 100644 index 00000000..f9da2556 --- /dev/null +++ b/project-template-tvos/internal/main.m @@ -0,0 +1,67 @@ +// +// Any changes in this file will be removed after you update your platform! +// +#import +#import + +#ifdef DEBUG +#include +#include +#include "macros.h" +#endif + +#if NS_SWIFTUI_BOOT == 0 +// Users can disable Obj-C bootstrapping by defining NS_SWIFTUI_BOOT = 1 in their project's build.xcconfig file +// This requires a NativeScriptApp.swift to be setup in the project and embedding enabled in @nativescript/core bootstrap + +extern char startOfMetadataSection __asm("section$start$__DATA$__TNSMetadata"); +NativeScript* nativescript; + +int main(int argc, char *argv[]) { + @autoreleasepool { + NSString* baseDir = [[NSBundle mainBundle] resourcePath]; + +#ifdef DEBUG + int refreshRequestSubscription; + notify_register_dispatch(NOTIFICATION("RefreshRequest"), &refreshRequestSubscription, dispatch_get_main_queue(), ^(int token) { + notify_post(NOTIFICATION("AppRefreshStarted")); + bool success = [nativescript liveSync]; + if (success) { + notify_post(NOTIFICATION("AppRefreshSucceeded")); + } else { + NSLog(@"__onLiveSync call failed"); + notify_post(NOTIFICATION("AppRefreshFailed")); + } + }); + + TNSInitializeLiveSync(); + if (getenv("TNSBaseDir")) { + baseDir = @(getenv("TNSBaseDir")); + } +#endif + + void* metadataPtr = &startOfMetadataSection; + + bool isDebug = +#ifdef DEBUG + true; +#else + false; +#endif + + Config* config = [[Config alloc] init]; + config.IsDebug = isDebug; + config.LogToSystemConsole = isDebug; + config.MetadataPtr = metadataPtr; + config.BaseDir = baseDir; + config.ArgumentsCount = argc; + config.Arguments = argv; + + nativescript = [[NativeScript alloc] initWithConfig:config]; + [nativescript runMainApplication]; + + return 0; + } +} + +#endif diff --git a/project-template-tvos/internal/nativescript-build.xcconfig b/project-template-tvos/internal/nativescript-build.xcconfig new file mode 100644 index 00000000..8a3fc311 --- /dev/null +++ b/project-template-tvos/internal/nativescript-build.xcconfig @@ -0,0 +1,29 @@ +// * NativeScript build related flags +// * Add [sdk=*] after each one to avoid conflict with CocoaPods flags +OTHER_LDFLAGS[sdk=*] = $(inherited) -ObjC -sectcreate __DATA __TNSMetadata "$(CONFIGURATION_BUILD_DIR)/metadata-$(CURRENT_ARCH).bin" -framework NativeScript -framework TKLiveSync -F"$(SRCROOT)/internal" -licucore -lz -lc++ -framework Foundation -framework UIKit -framework CoreGraphics -framework CoreServices -framework Security + +// We need to add CONFIGURATION_BUILD_DIR here so that we can explicitly quote-escape any paths in it, because the implicitly added path by Xcode is not always escaped +FRAMEWORK_SEARCH_PATHS[sdk=*] = $(inherited) "$(SRCROOT)/internal/" "$(CONFIGURATION_BUILD_DIR)" + +// Launch custom linker script in order to generate metadata binary file and link it in the executable +LD = $SRCROOT/internal/nsld.sh +LDPLUSPLUS = $SRCROOT/internal/nsld.sh + +// * Uncomment this setting to generate TypeScript declarations for the iOS SDK and all linked libraries. +// * They will be generated on each build, so you can find them after running "ns build ios" in "YOUR_APP/platforms/ios". +// NS_TYPESCRIPT_DECLARATIONS_PATH = $(SRCROOT)/typescript-declarations + +// * Uncomment this setting to generate human readable metadata for the iOS SDK and all linked libraries. +// * You can learn more about NativeScript metadata in the docs: http://docs.nativescript.org/runtimes/ios/Overview#metadata +// * It will be generated on each build, so you can find it after running "ns build ios" in "YOUR_APP/platforms/ios". +// NS_DEBUG_METADATA_PATH = $(SRCROOT)/debug-metadata + +// Xcode 12 +EXCLUDED_ARCHS_x86_64 = arm64 arm64e +EXCLUDED_ARCHS[sdk=iphonesimulator*] = i386 armv6 armv7 armv7s armv8 $(EXCLUDED_ARCHS_$(NATIVE_ARCH_64_BIT)) +EXCLUDED_ARCHS[sdk=iphoneos*] = i386 armv6 armv7 armv7s armv8 x86_64 +EXCLUDED_ARCHS[sdk=macosx*] = i386 armv6 armv7 armv7s armv8 +VALIDATE_WORKSPACE = YES + +// Default value (can be overriden by user's build.xcconfig) +TARGETED_DEVICE_FAMILY = 1,2 diff --git a/project-template-tvos/internal/nativescript-post-build b/project-template-tvos/internal/nativescript-post-build new file mode 100755 index 00000000..a9ed8f91 --- /dev/null +++ b/project-template-tvos/internal/nativescript-post-build @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +set -e + +pushd "$SRCROOT/internal" +./strip-dynamic-framework-architectures.sh +popd diff --git a/project-template-tvos/internal/nativescript-pre-build b/project-template-tvos/internal/nativescript-pre-build new file mode 100755 index 00000000..2216ef79 --- /dev/null +++ b/project-template-tvos/internal/nativescript-pre-build @@ -0,0 +1,10 @@ +#!/usr/bin/env bash + +# Ignore errors while inserting environment variables (some could be readonly) +(echo "set +e"; echo "set +o posix"; export; echo "set -o posix"; echo "set -e";) > ./.build_env_vars.sh + +# create temporary empty metadata files for XCode LD/LDPLUSPLUS flag analysis +for arch in $VALID_ARCHS +do : + touch "$CONFIGURATION_BUILD_DIR/metadata-$arch.bin" +done diff --git a/project-template-tvos/internal/nativescript-pre-link b/project-template-tvos/internal/nativescript-pre-link new file mode 100755 index 00000000..26e65ac1 --- /dev/null +++ b/project-template-tvos/internal/nativescript-pre-link @@ -0,0 +1,2 @@ +#!/usr/bin/env bash +set -e \ No newline at end of file diff --git a/project-template-tvos/internal/nsld.sh b/project-template-tvos/internal/nsld.sh new file mode 100755 index 00000000..9b5dda3a --- /dev/null +++ b/project-template-tvos/internal/nsld.sh @@ -0,0 +1,62 @@ +#!/usr/bin/env bash +source ./.build_env_vars.sh + +MODULES_DIR="$SRCROOT/internal/Swift-Modules" + +function DELETE_SWIFT_MODULES_DIR() { + rm -rf "$MODULES_DIR" +} + +function getArch() { + while [[ $# -gt 0 ]] + do + case $1 in + -arch) + printf $2 + return + ;; + -target) + printf `echo $2 | cut -f1 -d'-'` + return + ;; + esac + shift + done +} + +function GEN_MODULEMAP() { + ARCH_ARG=$1 + SWIFT_HEADER_DIR=$PER_VARIANT_OBJECT_FILE_DIR/$ARCH_ARG + + DELETE_SWIFT_MODULES_DIR + if [ -d "$SWIFT_HEADER_DIR" ]; then + HEADER_PATH=$(find "$SWIFT_HEADER_DIR" -name '*-Swift.h' 2>/dev/null) + if [ -n "$HEADER_PATH" ]; then + mkdir -p "$MODULES_DIR" + CONTENT="module nsswiftsupport { \n header \"$HEADER_PATH\" \n export * \n}" + printf "$CONTENT" > "$MODULES_DIR/module.modulemap" + else + echo "NSLD: Swift bridging header '*-Swift.h' not found under '$SWIFT_HEADER_DIR'" + fi + else + echo "NSLD: Directory for Swift headers ($SWIFT_HEADER_DIR) not found." + fi +} + +function GEN_METADATA() { + TARGET_ARCH=$1 + set -e + cpu_arch=$(uname -m) + pushd "$SRCROOT/internal/metadata-generator-${cpu_arch}/bin" + ./build-step-metadata-generator.py $TARGET_ARCH + popd +} + +# Workaround for ARCH being set to `undefined_arch` here. Extract it from command line arguments. +TARGET_ARCH=$(getArch "$@") +GEN_MODULEMAP $TARGET_ARCH +printf "Generating metadata..." +GEN_METADATA $TARGET_ARCH +DELETE_SWIFT_MODULES_DIR +NS_LD="${NS_LD:-"$TOOLCHAIN_DIR/usr/bin/clang"}" +$NS_LD "$@" diff --git a/project-template-tvos/internal/strip-dynamic-framework-architectures.sh b/project-template-tvos/internal/strip-dynamic-framework-architectures.sh new file mode 100755 index 00000000..1679d1a7 --- /dev/null +++ b/project-template-tvos/internal/strip-dynamic-framework-architectures.sh @@ -0,0 +1,68 @@ +#!/usr/bin/env bash + +################################################################################ +# +# Copyright 2015 Realm Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +################################################################################ + +# This script strips all non-valid architectures from dynamic libraries in +# the application's `Frameworks` directory. +# +# The following environment variables are required: +# +# BUILT_PRODUCTS_DIR +# FRAMEWORKS_FOLDER_PATH +# VALID_ARCHS +# EXPANDED_CODE_SIGN_IDENTITY + + +# Signs a framework with the provided identity +code_sign() { + # Use the current code_sign_identitiy + echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" + echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements $1" + /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements "$1" +} + +if [ ! -e "${BUILT_PRODUCTS_DIR}/${FRAMEWORKS_FOLDER_PATH}" ]; then + exit 0 +fi + +echo "Stripping frameworks" +cd "${BUILT_PRODUCTS_DIR}/${FRAMEWORKS_FOLDER_PATH}" + +for file in $(find . -type f); do + # Skip non-dynamic libraries + if ! [[ "$(file "$file")" == *"dynamically linked shared library"* ]]; then + continue + fi + # Get architectures for current file + archs="$(lipo -info "${file}" | rev | cut -d ':' -f1 | rev)" + stripped="" + for arch in $archs; do + if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then + # Strip non-valid architectures in-place + lipo -remove "$arch" -output "$file" "$file" || exit 1 + stripped="$stripped $arch" + fi + done + if [[ "$stripped" != "" ]]; then + echo "Stripped $file of architectures:$stripped" + if [ "${CODE_SIGNING_ALLOWED}" == "YES" ]; then + code_sign "${file}" + fi + fi +done diff --git a/v8ios.xcodeproj/project.pbxproj b/v8ios.xcodeproj/project.pbxproj index 492b9a01..f86a726f 100644 --- a/v8ios.xcodeproj/project.pbxproj +++ b/v8ios.xcodeproj/project.pbxproj @@ -2275,11 +2275,11 @@ PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; SDKROOT = ""; SKIP_INSTALL = YES; - SUPPORTED_PLATFORMS = "iphoneos iphonesimulator xros xrsimulator"; + SUPPORTED_PLATFORMS = "appletvos appletvsimulator iphoneos iphonesimulator xros xrsimulator"; SUPPORTS_MACCATALYST = YES; SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO; - TARGETED_DEVICE_FAMILY = "1,2,7"; + TARGETED_DEVICE_FAMILY = "1,2,3,7"; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; @@ -2313,11 +2313,11 @@ PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; SDKROOT = ""; SKIP_INSTALL = YES; - SUPPORTED_PLATFORMS = "iphoneos iphonesimulator xros xrsimulator"; + SUPPORTED_PLATFORMS = "appletvos appletvsimulator iphoneos iphonesimulator xros xrsimulator"; SUPPORTS_MACCATALYST = YES; SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO; - TARGETED_DEVICE_FAMILY = "1,2,7"; + TARGETED_DEVICE_FAMILY = "1,2,3,7"; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; @@ -2647,11 +2647,11 @@ PROVISIONING_PROFILE_SPECIFIER = ""; SDKROOT = iphoneos; STRIPFLAGS = "-s $(PROJECT_DIR)/TestFixtures/exported-symbols.txt"; - SUPPORTED_PLATFORMS = "iphoneos iphonesimulator xros xrsimulator"; + SUPPORTED_PLATFORMS = "appletvos appletvsimulator iphoneos iphonesimulator xros xrsimulator"; SUPPORTS_MACCATALYST = NO; SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO; - TARGETED_DEVICE_FAMILY = "1,7"; + TARGETED_DEVICE_FAMILY = "1,3,7"; USER_HEADER_SEARCH_PATHS = ""; }; name = Debug; @@ -2702,11 +2702,11 @@ PROVISIONING_PROFILE_SPECIFIER = ""; SDKROOT = iphoneos; STRIPFLAGS = "-s $(PROJECT_DIR)/TestFixtures/exported-symbols.txt"; - SUPPORTED_PLATFORMS = "iphoneos iphonesimulator xros xrsimulator"; + SUPPORTED_PLATFORMS = "appletvos appletvsimulator iphoneos iphonesimulator xros xrsimulator"; SUPPORTS_MACCATALYST = NO; SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO; - TARGETED_DEVICE_FAMILY = "1,7"; + TARGETED_DEVICE_FAMILY = "1,3,7"; USER_HEADER_SEARCH_PATHS = ""; }; name = Release; @@ -2784,11 +2784,11 @@ PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; SDKROOT = ""; SKIP_INSTALL = YES; - SUPPORTED_PLATFORMS = "iphoneos iphonesimulator xros xrsimulator"; + SUPPORTED_PLATFORMS = "appletvos appletvsimulator iphoneos iphonesimulator xros xrsimulator"; SUPPORTS_MACCATALYST = YES; SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO; - TARGETED_DEVICE_FAMILY = "1,2,7"; + TARGETED_DEVICE_FAMILY = "1,2,3,7"; USER_HEADER_SEARCH_PATHS = ( "$(SRCROOT)/NativeScript", "$(SRCROOT)/NativeScript/include", @@ -2872,11 +2872,11 @@ PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; SDKROOT = ""; SKIP_INSTALL = YES; - SUPPORTED_PLATFORMS = "iphoneos iphonesimulator xros xrsimulator"; + SUPPORTED_PLATFORMS = "appletvos appletvsimulator iphoneos iphonesimulator xros xrsimulator"; SUPPORTS_MACCATALYST = YES; SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO; - TARGETED_DEVICE_FAMILY = "1,2,7"; + TARGETED_DEVICE_FAMILY = "1,2,3,7"; USER_HEADER_SEARCH_PATHS = ( "$(SRCROOT)/NativeScript", "$(SRCROOT)/NativeScript/include",