- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for CFBundleGetMainBundle (0.43 sec)
-
src/runtime/cgo/gcc_darwin_arm64.c
} #if TARGET_OS_IPHONE // init_working_dir sets the current working directory to the app root. // By default ios/arm64 processes start in "/". static void init_working_dir() { CFBundleRef bundle = CFBundleGetMainBundle(); if (bundle == NULL) { fprintf(stderr, "runtime/cgo: no main bundle\n"); return; } CFURLRef url_ref = CFBundleCopyResourceURL(bundle, CFSTR("Info"), CFSTR("plist"), NULL); if (url_ref == NULL) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 09 03:13:11 UTC 2023 - 3.6K bytes - Viewed (0)