question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

iOS build Error / Is the bundle id build correctly?

See original GitHub issue

Plugin Version or Commit ID

adb2d90

Unity Version

2021.3.6f1 (Apple Silicon)

Your Host OS

M1 Mac

Target Platform

iOS

[Windows Only] Visual Studio C++ and Windows SDK Version

No response

[Linux Only] GCC/G++ and GLIBC Version

No response

[Android Only] Android Build Tools and NDK Version

No response

[iOS Only] XCode Version

XCode 13.2 / simulator iPhone13(15.0)

Command Sequences

  1. I have completed the installation guide number 1 to 5.
  2. and opened mediapipe_api/objc/BUILD and modified bundle_id
  3. I opened Unity and set the Build Setting > Player > Bundle Identifier exactly the same.
  4. I build the command.
  • python build.py build --desktop cpu --opencv cmake --macos_universal -vv
  • python build.py build --desktop cpu --ios arm64 -vv
  1. The build was successful in Unity, and this error occurs when opened with XCode.

I found this issue(#87). and after checking the GPU usage, I modified the build command, but it was not resolved. After the modification, python build.py build --desktop gpu --ios arm64 -vv was entered into the terminal but could not be installed. So I entered python build.py build --desktop cpu --ios arm64 -vv again.

Log

- XCode build > build Success > This is Log after Splash Screen

Warning: Error creating LLDB target at path ‘/Users/yechanjeon/Library/Developer/Xcode/DerivedData/Unity-iPhone-dzcbadadhwqlvmfqrxkbvgythezz/Build/Products/ReleaseForRunning-iphonesimulator/MediaPipeUnityPlugin.app’- using an empty LLDB target which can cause slow memory reads from remote devices. 2022-07-29 14:28:16.193296+0900 MediaPipeUnityPlugin[27792:232824] Built from ‘2021.3/staging’ branch, Version ‘2021.3.6f1 (7da38d85baf6)’, Build type ‘Development’, Scripting Backend ‘il2cpp’ 2022-07-29 14:28:16.199917+0900 MediaPipeUnityPlugin[27792:232824] MemoryManager: Using ‘Dynamic Heap’ Allocator. [UnityMemory] Configuration Parameters - Can be set up in boot.config “memorysetup-bucket-allocator-granularity=16” “memorysetup-bucket-allocator-bucket-count=8” “memorysetup-bucket-allocator-block-size=4194304” “memorysetup-bucket-allocator-block-count=1” “memorysetup-main-allocator-block-size=16777216” “memorysetup-thread-allocator-block-size=16777216” “memorysetup-gfx-main-allocator-block-size=16777216” “memorysetup-gfx-thread-allocator-block-size=16777216” “memorysetup-cache-allocator-block-size=4194304” “memorysetup-typetree-allocator-block-size=2097152” “memorysetup-profiler-bucket-allocator-granularity=16” “memorysetup-profiler-bucket-allocator-bucket-count=8” “memorysetup-profiler-bucket-allocator-block-size=4194304” “memorysetup-profiler-bucket-allocator-block-count=1” “memorysetup-profiler-allocator-block-size=16777216” “memorysetup-profiler-editor-allocator-block-size=1048576” “memorysetup-temp-allocator-size-main=4194304” “memorysetup-job-temp-allocator-block-size=2097152” “memorysetup-job-temp-allocator-block-size-background=1048576” “memorysetup-job-temp-allocator-reduction-small-platforms=262144” “memorysetup-temp-allocator-size-background-worker=32768” “memorysetup-temp-allocator-size-job-worker=262144” “memorysetup-temp-allocator-size-preload-manager=262144” “memorysetup-temp-allocator-size-nav-mesh-worker=65536” “memorysetup-temp-allocator-size-audio-worker=65536” “memorysetup-temp-allocator-size-cloud-worker=32768” “memorysetup-temp-allocator-size-gfx=262144” -> applicationDidFinishLaunching() Found 1 interfaces on host : 0) 172.16.202.96 Multi-casting “[IP] 172.16.202.96 [Port] 55000 [Flags] 2 [Guid] 2243251283 [EditorId] 0 [Version] 1048832 [Id] iPhonePlayer(8,YECHANs-MacBook-Pro.local):56000 [Debug] 0 [PackageName] iPhonePlayer [ProjectName] <no name>” to [225.0.0.222:54997]… 2022-07-29 14:28:16.429628+0900 MediaPipeUnityPlugin[27792:232824] Cannot find executable for CFBundle 0x7fea1b7d33e0 </System/Library/Frameworks/Metal.framework> (not loaded)

Setting UIViewControllerBasedStatusBarAppearance to NO is no longer supported. Apple actively discourages that, and all application-wide methods of changing status bar appearance are deprecated

2022-07-29 14:28:17.261675+0900 MediaPipeUnityPlugin[27792:232824] Writing analzed variants. -> applicationDidBecomeActive() GfxDevice: creating device client; threaded=1; jobified=1 Initializing Metal device caps: Apple iOS simulator GPU Initialize engine version: 2021.3.6f1 (7da38d85baf6) 2022-07-29 14:28:18.240820+0900 MediaPipeUnityPlugin[27792:232969] [plugin] AddInstanceForFactory: No factory registered for id <CFUUID 0x600000f3e820> F8BB1C28-BAE8-11D6-9C31-00039315CD46 2022-07-29 14:28:18.469867+0900 MediaPipeUnityPlugin[27792:233016] fopen failed for data file: errno = 2 (No such file or directory) 2022-07-29 14:28:18.470176+0900 MediaPipeUnityPlugin[27792:233016] Errors found! Invalidating cache… 2022-07-29 14:28:18.814693+0900 MediaPipeUnityPlugin[27792:233016] fopen failed for data file: errno = 2 (No such file or directory) 2022-07-29 14:28:18.814798+0900 MediaPipeUnityPlugin[27792:233016] Errors found! Invalidating cache… 2022-07-29 14:28:18.918043+0900 MediaPipeUnityPlugin[27792:232824] Unbalanced calls to begin/end appearance transitions for <SplashScreenController: 0x7fea1f33d820>. UnloadTime: 2.016833 ms dyld[27792]: missing symbol called CoreSimulator 783.5 - Device: iPhone 13 (2D7FB6AB-205C-460C-9B4D-C8C7EF371763) - Runtime: iOS 15.0 (19A339) - DeviceType: iPhone 13 (lldb)

Additional Context

Untitled

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
homulercommented, Aug 2, 2022

I’m not sure, but there may be a problem with your emulator settings.

1reaction
homulercommented, Aug 1, 2022

And please make sure the error occurs when there’s no cache.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Failed to register bundle identifi…
Im getting the error "Failed to register bundle identifier. ... It appears that each time a build fails, you need to specify a...
Read more >
How to fix the 'Invalid bundle ID for container' error when ...
To do this, select Product > Clean Build Folder from the Xcode menu. Then, select Product > Build from the Xcode menu to...
Read more >
Xcode Error: "The app ID cannot be registered to your ...
Go to Build Settings tab, and then change the Product Bundle Identifier to another name. It works in mine. Share.
Read more >
EAS build fails for iOS: wrong bundle ID
I have used command eas credentials, deleted old Distribution Certificate and Provisioning Profiles. Create new build I let eas create required ...
Read more >
[iOS] Build fails with error "iOS Bundle ID has not been set up ...
How to reproduce: 1. Open the attached BundleIdBugExample.zip project 2. Build for iOS and deploy the Xcode project to the device.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found