MCPcopy Create free account
hub / github.com/auth0/auth0-cli / TestReadIOSBundleID_RootXcodeproj

Function TestReadIOSBundleID_RootXcodeproj

internal/cli/quickstart_detect_test.go:3025–3031  ·  view source on GitHub ↗

readIOSBundleID should read PRODUCT_BUNDLE_IDENTIFIER from a root-level .xcodeproj (native Xcode project layout, not Flutter).

(t *testing.T)

Source from the content-addressed store, hash-verified

3023// readIOSBundleID should read PRODUCT_BUNDLE_IDENTIFIER from a root-level .xcodeproj
3024// (native Xcode project layout, not Flutter).
3025func TestReadIOSBundleID_RootXcodeproj(t *testing.T) {
3026 dir := t.TempDir()
3027 mkTestDir(t, dir, "MyApp.xcodeproj")
3028 writeTestFile(t, dir, filepath.Join("MyApp.xcodeproj", "project.pbxproj"),
3029 `PRODUCT_BUNDLE_IDENTIFIER = com.example.native;`)
3030 assert.Equal(t, "com.example.native", readIOSBundleID(dir))
3031}

Callers

nothing calls this directly

Calls 3

mkTestDirFunction · 0.85
writeTestFileFunction · 0.85
readIOSBundleIDFunction · 0.85

Tested by

no test coverage detected