peachsim 0.1.2093 → 0.1.2095
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/detox/index.ts +15 -3
- package/dist-lib/agent-daemon-client.cjs +1 -1
- package/dist-lib/agent-events.cjs +1 -1
- package/dist-lib/attached-projects.cjs +1 -1
- package/dist-lib/auth/shared-session.cjs +1 -1
- package/dist-lib/backend-origin.cjs +1 -1
- package/dist-lib/beta.cjs +1 -1
- package/dist-lib/beta.mjs +1 -1
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +1 -1
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +1 -1
- package/dist-lib/bundle-channel.cjs +38 -25
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +1 -1
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +1 -1
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +1 -1
- package/dist-lib/cloud.cjs +1 -1
- package/dist-lib/cloud.mjs +1 -1
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/config.mjs +1 -1
- package/dist-lib/detox/index.cjs +10 -4
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +26 -22
- package/dist-lib/expo-swift-metadata.cjs +1 -1
- package/dist-lib/expo-swift-metadata.mjs +1 -1
- package/dist-lib/home-paths.cjs +6 -1
- package/dist-lib/host/bridge-host.cjs +38 -25
- package/dist-lib/host/fetch-proxy-handler.cjs +4 -4
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
- package/dist-lib/host/replacement-module-handler.cjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +1 -1
- package/dist-lib/index.cjs +18 -17
- package/dist-lib/jump-to-source-babel.cjs +1 -1
- package/dist-lib/jump-to-source-native.cjs +1 -1
- package/dist-lib/kotlin-host.cjs +1 -1
- package/dist-lib/menu.cjs +1 -1
- package/dist-lib/menu.mjs +1 -1
- package/dist-lib/metro-fingerprint-registry.cjs +1 -1
- package/dist-lib/metro-fingerprint-registry.mjs +1 -1
- package/dist-lib/metro-production-bundle.cjs +1 -1
- package/dist-lib/metro-production-bundle.mjs +1 -1
- package/dist-lib/metro.cjs +18 -17
- package/dist-lib/native-app-identity-project.cjs +17 -16
- package/dist-lib/native-app-identity-project.mjs +17 -16
- package/dist-lib/native-app-identity.cjs +1 -1
- package/dist-lib/native-app-identity.mjs +1 -1
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +1 -1
- package/dist-lib/pdfium-raster.cjs +1 -1
- package/dist-lib/pdfium-raster.mjs +1 -1
- package/dist-lib/plist.cjs +1 -1
- package/dist-lib/plist.mjs +1 -1
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/public-origins-lib-esm.json +24 -24
- package/dist-lib/public-origins-lib.json +53 -53
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +1 -1
- package/dist-lib/reap-browser.cjs +1 -1
- package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
- package/dist-lib/sdk.cjs +1 -1
- package/dist-lib/sdk.mjs +1 -1
- package/dist-lib/skills.cjs +39 -25
- package/dist-lib/swift-compile.cjs +2 -2
- package/dist-lib/swift-compile.mjs +2 -2
- package/dist-lib/swift-package.cjs +1 -1
- package/dist-lib/swift-package.mjs +1 -1
- package/dist-lib/swift-submit.cjs +1 -1
- package/dist-lib/swift-submit.mjs +1 -1
- package/dist-lib/swift-toolchain.cjs +1 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vite-swift.cjs +22 -18
- package/dist-lib/vite.cjs +4 -4
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/package.json +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPrintInfo.h +2 -19
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIRegion.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKitTypes.framework/Headers/UIKitTypes.h +18 -0
- package/src/expo-swift-host.ts +8 -2
- package/src/home-paths.ts +5 -0
- package/src/swift-distribution.ts +2 -2
- package/src/turbo-bundle.ts +11 -2
- package/src/turbo-source.ts +1 -1
- package/src/xcode-project.ts +22 -16
package/src/xcode-project.ts
CHANGED
|
@@ -920,7 +920,7 @@ function shellAssetCatalogs(
|
|
|
920
920
|
/\$\{([A-Za-z_][A-Za-z0-9_]*):-([^{}`]*)\}/g,
|
|
921
921
|
(_match, key: string, fallback: string) => lookup(key) || fallback,
|
|
922
922
|
)
|
|
923
|
-
if (/\$\{[A-Za-z_][A-Za-z0-9_]*(
|
|
923
|
+
if (/\$\{[A-Za-z_][A-Za-z0-9_]*(?::|[-+=?]|[#%/^,])/.test(shell)) return null
|
|
924
924
|
const value = expand(shell, lookup)
|
|
925
925
|
return /[$`]/.test(value) ? null : value
|
|
926
926
|
}
|
|
@@ -966,7 +966,7 @@ function shellCopies(
|
|
|
966
966
|
// a word is one quoted or bare token; single quotes never expand
|
|
967
967
|
const word = (token: string) => {
|
|
968
968
|
// shell parameter operators (`${x:-y}`) are the shell's, not build setting operators
|
|
969
|
-
if (/\$\{[A-Za-z_][A-Za-z0-9_]*(
|
|
969
|
+
if (/\$\{[A-Za-z_][A-Za-z0-9_]*(?::|[-+=?]|[#%/^,])/.test(token)) return null
|
|
970
970
|
resolved = true
|
|
971
971
|
const quote = token[0]
|
|
972
972
|
const value =
|
|
@@ -2778,20 +2778,6 @@ export function readXcodeAppTarget(
|
|
|
2778
2778
|
const entitlementsFile = settings('CODE_SIGN_ENTITLEMENTS')
|
|
2779
2779
|
? path.resolve(app.project.projectDir, settings('CODE_SIGN_ENTITLEMENTS'))
|
|
2780
2780
|
: null
|
|
2781
|
-
const keychainAccessGroups = entitlementsFile
|
|
2782
|
-
? readKeychainAccessGroups(
|
|
2783
|
-
plist.parse(fs.readFileSync(entitlementsFile, 'utf8')),
|
|
2784
|
-
(value) =>
|
|
2785
|
-
expand(value, (key) => {
|
|
2786
|
-
const resolved = settings(key)
|
|
2787
|
-
if (!resolved)
|
|
2788
|
-
throw new Error(
|
|
2789
|
-
`${entitlementsFile} references $(${key}), which ${module.name}'s build settings do not define${key === 'CFBundleIdentifier' ? ' (set PRODUCT_BUNDLE_IDENTIFIER; Xcode supplies it as CFBundleIdentifier)' : ''}`,
|
|
2790
|
-
)
|
|
2791
|
-
return resolved
|
|
2792
|
-
}),
|
|
2793
|
-
)
|
|
2794
|
-
: undefined
|
|
2795
2781
|
// a generated plist is read only once its phase has run
|
|
2796
2782
|
const infoPlistPending = module.generatedInfoPlist && !options.prepareGeneratedSources
|
|
2797
2783
|
const sourceInfo =
|
|
@@ -2826,6 +2812,26 @@ export function readXcodeAppTarget(
|
|
|
2826
2812
|
if (info[key] === undefined && value) info[key] = value
|
|
2827
2813
|
}
|
|
2828
2814
|
}
|
|
2815
|
+
// signing evaluates $(CFBundleIdentifier) as PRODUCT_BUNDLE_IDENTIFIER, else the
|
|
2816
|
+
// Info.plist value (swift-build computeBundleIdentifier, PlanningOperation)
|
|
2817
|
+
const bundleIdentifier =
|
|
2818
|
+
settings('PRODUCT_BUNDLE_IDENTIFIER') ||
|
|
2819
|
+
(typeof info.CFBundleIdentifier === 'string' ? info.CFBundleIdentifier : '')
|
|
2820
|
+
const keychainAccessGroups = entitlementsFile
|
|
2821
|
+
? readKeychainAccessGroups(
|
|
2822
|
+
plist.parse(fs.readFileSync(entitlementsFile, 'utf8')),
|
|
2823
|
+
(value) =>
|
|
2824
|
+
expand(value, (key) => {
|
|
2825
|
+
const resolved =
|
|
2826
|
+
key === 'CFBundleIdentifier' ? bundleIdentifier : settings(key)
|
|
2827
|
+
if (!resolved)
|
|
2828
|
+
throw new Error(
|
|
2829
|
+
`${entitlementsFile} references $(${key}), which ${module.name}'s build settings do not define`,
|
|
2830
|
+
)
|
|
2831
|
+
return resolved
|
|
2832
|
+
}),
|
|
2833
|
+
)
|
|
2834
|
+
: undefined
|
|
2829
2835
|
const postBundleScripts: XcodeAppTarget['postBundleScripts'] = []
|
|
2830
2836
|
for (const id of [...list(app.target.buildPhases)].reverse()) {
|
|
2831
2837
|
const phase = app.project.object(id)
|