How to fix: the app references non-public symbols in payload/appname.app/projectname: _cmtimebasecreatewithmasterclock
1 min readJul 7, 2023
Recently i came across this issue while uploading app using Xcode and struggled to find solution. So for people like me i am providing solution so that it can be resolved in small amount of time.
Steps:
- Open terminal and navigate using “cd command” to your project directory. e.g: cd “projectpath”.
- type “grep -r CMTimebaseCreateWithMasterClock .” in my case non-public symbol is“CMTimebaseCreateWithMasterClock” so i passed “CMTimebaseCreateWithMasterClock”. You can pass any other error string that is presented by Xcode to resolve such kind of solution.
- Hit enter and you will be listed with files or frameworks those are using non-public symbols.
- Now you can replace that framework or code that is used in file found by grep command.
- Re-upload an application and wow you can upload successfully it.
Please like, clap and follow for more posts.