**On the final step of uploading my game to App Store, while archiving the project in Xcode 15, my build fails because of the linker error and AdMob undefined symbols reason. There may be something wrong with the unity-plugin-library like on the screenshots.I think Xcode just cant find some files from my projects that are linked with Google AdMob Ads plugin. I got 2 errors and warnings
The error is like this: Unity Framework 2 issues Undefined symbols: Linker command failed with exit code 1 (use -v to see invocation)**
_CGSizeFromGADAdSize, referenced from:
+[GADUPluginUtil safeAdSizeForAdSize:] in unity-plugin-library.a[arm64] [14] (GADUPluginUtil.o) _GADAdSizeEqualToSize, referenced from:
+ [GADUPluginUtil safeAdSizeForAdSize:] in unity-plugin-library.a [arm64] [14] (GADUPluginUtil.o) GADAdSizeFromCGSize, referenced from: __GAMUBannerViewSetValidAdSizes in unity-plugin-library.a [arm64][11] (GADUInterface.o)
+ [GADUPluginUtil safeAdSizeForAdSize:] in unity-plugin-library.a [arm64] [14] (GADUPluginUtil.o) + [GADUPluginUtil adSizeForWidth: height:] in unity-plugin-library.a [arm64] [14] (GADUPluginUtil.o) GADAdSizeFullWidthPortraitWithHeight, referenced from:
+ [GADUPluginUtil adSizeForWidth: height:] in unity-plugin-library.a[arm64] [14] (GADUPluginUtil.o) _GADCurrentOrientationAnchoredAdaptiveBannerAdSizeWithWidth, referenced from:
+ [GADUPluginUtil adaptiveAdSizeForWidth: orientation:] in unity-plugin-library.a [arm64] [14] (GADUPluginUtil.o) GADErrorUserInfoKeyResponseInfo, referenced from:
GADUGetAdErrorResponse Info in unity-plugin-library.a[arm64] [11] (GADUInterface.o)
GADLandscapeAnchored Adaptive BannerAdSizeWithWidth, referenced from:
+ [GADUPluginUtil adaptiveAdSizeForWidth: orientation:] in unity-plugin-library.a[arm64] [14] (GADUPluginUtil.o) GADPortraitAnchoredAdaptiveBannerAdSizeWithWidth, referenced from:
+ [GADUPluginUtil adaptiveAdSizeForWidth:orientation:] in unity-plugin-library.a[arm64] [14] (GADUPluginUtil.o) _NSValueFromGADAdSize, referenced from:
_GAMUBannerViewSetValidAdSizes in unity-plugin-library.a[arm64][11] (GADUInterface.o)
_OBJC_CLASS_$_GADAppOpenAd, referenced from:
in unity-plugin-library.a[arm64] [9] (GADUAppOpenAd.o)
_OBJC_CLASS_$__GADBannerView, referenced from:
in unity-plugin-library.a[arm64] [10] (GADUBanner.o)
_OBJC_CLASS_$_GADExtras, referenced from:
in unity-plugin-library.a[arm64] [15] (GADURequest.o) _OBJC_CLASS_$_GADInterstitialAd, referenced from:
in unity-plugin-library.a[arm64] [12] (GADUInterstitial.o)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
**I tried to add libraries or frameworks in the "Compile Sources" window in Build Phases in Xcode. I tried adding frameworks to "Link binary with Libraries". I tried adding "$inherited" to properties of one of the files. I tried restarting my Mac and XCode. At first I was building with Google AdMob unity plugin version 8.4.0 and I updated to the latest plugin 8.5.2 but the errors were the same.
My configuration: Unity: 2021.3.31f1 AdMob: 8.5.2 Xcode: 15 MacOS: MacOS 14 latest BaseSDK: IOS Architecture: Arm64 Ruby: 3.2.2 CocoaPods: 1.13.0
**
Developer Tools
RSS for tagAsk questions about the tools you can use to build apps.
Posts under Developer Tools tag
200 Posts
Sort by:
Post
Replies
Boosts
Views
Activity
We are in process of creating an iOS application exclusive for the internal users within our organization. This app uses custom Microsoft Active Directory for authentication. There will be about 150 internal users will access this application.
We want to install this without publishing this in the Apple App Store. Please guide us how exactly we can achieve this?
Hi,
I've created small tool as a build tool plugin. I want to attach example project to the repo.
But when I try to add local dependency to the Example project, build tool is not visible. But it is visible when I link to remote repo directly from github.
Github repo with Example app with remote dependency to the build tool plugin.
https://github.com/PGSSoft/GitCommitInfoPlugin
Adding a local dependency to Package.Swift in parent directory
Trying select build in Build Phase pane.
Build tool is not visible in the list but it is visible when I add remote repo.
Is it bug or intended behaviour?
We were using the following build xcframework with xcode 14.3.1:
xcodebuild -create-xcframework \
-framework $PROJECT_DIR/Build/Intermediates.noindex/ArchiveIntermediates/myFramework/BuildProductsPath/Release-iphoneos/myFramework.framework \
-framework $PROJECT_DIR/Build/Intermediates.noindex/ArchiveIntermediates/myFramework/BuildProductsPath/Release-iphonesimulator/myFramework.framework \
-output $PROJECT_DIR/output/myFramework.xcframework
However with xCode 15, the build fails with the following error:
error: cannot compute path of binary 'Path(str: "[REDACTED]/Build/Intermediates.noindex/ArchiveIntermediates/myFramework/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/myFramework.framework/myFramework")' relative to that of '[REDACTED]/Build/Intermediates.noindex/ArchiveIntermediates/myFramework/BuildProductsPath/Release-iphoneos/myFramework.framework'
How can we solve this?
Hello Apple team,
We are facing a problem with creating a build via the Xcode cloud.
Error:
Run ci_post_clone.sh script
INSTALL DEPENDENCIES
Your RubyGems version (3.0.3.1) has a bug that prevents required_ruby_version from working for Bundler. Any scripts that use gem install bundler will break as soon as Bundler drops support for your Ruby version. Please upgrade RubyGems to avoid future breakage and silence this warning by running gem update --system 3.2.3
Your Ruby version is 2.6.10, but your Gemfile specified ~> 2.7.0
INSTALL PODS
Your RubyGems version (3.0.3.1) has a bug that prevents required_ruby_version from working for Bundler. Any scripts that use gem install bundler will break as soon as Bundler drops support for your Ruby version. Please upgrade RubyGems to avoid future breakage and silence this warning by running gem update --system 3.2.3
bundler: command not found: pod
Install missing gem executables with bundle install
Error
Command exited with non-zero exit-code: 127
Warning
The ci_post_clone.sh is executable but exited with 127 exit code. Make sure a valid shebang line is specified if the file is a script and that the interpreter specified in the shebang line is supported on Xcode Cloud.
HELP NEED
How I can set a specific ruby version to create a build in the Xcode cloud
I want to use Ruby version 3.2.2
Thanks in advance for great help!
I'm creating macos frameworks and ios xcframeworks using xcode 13.1
In my python script I do the following:
codesign --sign "My Company" "full path to my framework"
codesign -dv --verbose=4 "full path to my framework"
This results in something like the following:
Executable=/Info.plist
Identifier=
Format=bundle
CodeDirectory v=20100 size=194 flags=0x0(none) hashes=1+3 location=embedded
Hash type=sha256 size=32
CandidateCDHash sha1=e8178a1c065d50b0c056ac1d28a00b32f5233cfa
CandidateCDHashFull sha1=e8178a1c065d50b0c056ac1d28a00b32f5233cfa
CandidateCDHash sha256=a09d875a205267dbae768f5432c2eb6971d79a33
CandidateCDHashFull sha256=a09d875a205267dbae768f5432c2eb6971d79a33744005c715fe2388c9e91a5c
Hash choices=sha1,sha256
CMSDigest=3aa96ec9a8a5d6b761fa80050907acd77cfd23019c338d6e7e6bbb89de08daf5
CMSDigestType=2
Page size=none
CDHash=a09d875a205267dbae768f5432c2eb6971d79a33
Signature size=6940
Authority=
Authority=Sectigo Public Code Signing CA R36
Authority=Sectigo Public Code Signing Root R46
Authority=AAA Certificate Services
Signed Time=Oct 19, 2023 at 9:40:08 PM
Info.plist entries=3
TeamIdentifier=not set
Sealed Resources version=2 rules=10 files=5
Internal requirements count=1 size=96
Success: codesign verification succeeded.
However, when trying to use this framework in Xcode 15, we are getting the error:
"The signature of "My Library" cannot be found"
I have a Swift Package Build Tool Plugin to generate localizations and design tokens, which looks like this currently.
// Copyright © 2023 MEGA Limited. All rights reserved.
import PackagePlugin
@main
struct GenerateTokenBuildTool: BuildToolPlugin {
func createBuildCommands(context: PluginContext, target: Target) async throws -> [Command] {
guard let target = target as? SourceModuleTarget else { return [] }
return try target.sourceFiles(withSuffix: "xcassets").map { assetCatalog in
let base = assetCatalog.path.stem
let input = assetCatalog.path
let output = context.pluginWorkDirectory.appending(["\(base).swift"])
// Use this when archiving for MacCatalyst
let tool = try context.tool(named: "AssetTokenGenerator").path
let toolName = tool.lastComponent
let path = tool.removingLastComponent()
let macPath = path.removingLastComponent().appending(subpath: path.lastComponent + "-maccatalyst")
let executable = macPath.appending(subpath: toolName)
// // Use this when archiving for iOS/iPadOS
// let executable = try context.tool(named: "AssetTokenGenerator").path
return .buildCommand(
displayName: "Generating tokens for \(base).xcassets",
executable: executable,
arguments: [input.string, output.string],
inputFiles: [input],
outputFiles: [output]
)
}
}
}
If you notice, I need to do a bit of manual bug fixing when determining the path of my executable.
When building for Mac Catalyst, context.tool(named:).path is pointing to an incorrect folder, thus failing the build for my project with this error:
Command PhaseScriptExecution failed with a nonzero exit code
sandbox-exec: execvp() of '//Users/mega-jfe/Library/Developer/Xcode/DerivedData/MEGAVPN-efdcwfcaosxfvneqjuvhrvdmbkax/Build/Products/Debug/AssetTokenGenerator' failed: No such file or directory
It's suppposed to be using the Debug-maccatalyst folder, but Xcode is pointing the path to Debug.
I feel like this is a bug, or else please let me know how I can handle this so that I can build for both without manually changing the code when building for Catalyst.
Thanks!
I am having a very weird issue with Xcode 15.0.1. If you are running an app that was built with XCode 14 and install the new version of the app with XCode 15 it works fine.
If you delete the XCode 14 build of the app, and install the XCode 15 build of the app you get "This app cannot be installed because its integrity could not be verified" error message on launching the app.
Then when we rebuild the app again with XCode 14 the app works fine with no issues.
I have tried multiple solutions that I have found on various forums, but with no luck.
Anyone have any suggestions on how to fix this issue.
I made a package with xcode15.0.1 and uploaded it to the Apple Store. Everything worked fine when I ran it locally, but downloading the same version from the store caused a startup crash. The mobile version is 12.5.7
Somebody uses POCO library(https://pocoproject.org/) under MACOS? Ive try to build my app in CLion using CMAKE but there is an error:
====================[ Clean | Debug ]===========================================
/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake --build /Users/michaelikus/CLionProjects/training/poco01 --target clean -- -j 8
Clean finished
====================[ Build | all | Debug ]=====================================
/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake --build /Users/michaelikus/CLionProjects/training/poco01 --target all -- -j 8
[ 50%] Building CXX object CMakeFiles/poco01.dir/poco01.cpp.o
[100%] Linking CXX executable poco01
ld: Undefined symbols:
Poco::Data::SQLite::Connector::registerConnector(), referenced from:
_main in poco01.cpp.o
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [poco01] Error 1
make[1]: *** [CMakeFiles/poco01.dir/all] Error 2
make: *** [all] Error 2
Installed 17.2 Beta on 14Pro and since then the charging port is not recognized. Can only charge wirelessly.
Took to Apple Store and was told its impossible to reverse to the previous version since they can’t physically connect to iTunes. Repair is $649 or I can trade it in.
Everything worked flawlessly before the 17.2 install. The diagnostics show hardware is good as well.
So to summarize, while helping Apple finesse their software they installed a bug that disables the port and renders the phone pretty useless. Way to go Apple!!!
Hi all. I'm writing an app that targets iOS 15 and beyond. I can't build or test because Xcode complains that iOS 17 SDK is not installed, which is true. But my deployment target is set for 15.6.
I installed a simulator for 15 by downloading iOS 15 simulator support from the Platforms tab in settings. This is also where you see that iOS SDKs there are... but there's no way to add them. The + button in the corner only lets you install more simulators.
Where do you install support for earlier iOS versions? This is in Xcode 15.0.1.
Thanks.
Hii I want to know that is MacBook Air M1 base Varient enough for Coding iOS/app development
I'm 2023. I don't care how much time will take to make app or run the program I will also buy
External Ssd too. Pls suggest anyone who knows or 16gb is enough m1 MacBook Air cause I can afford
Only MacBook Air M1 or I have to buy MacBook Air m2 base varient
Does anybody know:
How do I see in Xcode which string catalogs have issues?
How do I filter to strings with issues or jump to a string with issues when viewing a string catalog in Xcode?
Good afternoon everyone
I'm trying to build a custom program and widget
It ideally would be a simple toggle that changes my default mic input setting to the default Macbook Pro mic.
What direction should I go in to learn how to access the OS and change settings via an app in this way? Specifically accessing the OS and deploying a custom app to my machine.
Thanks for reading
Hi,
after upgrading to new SDKs I can no longer run the app on the simulator.
I insert the debugger result here.
Showing Recent Issues
Cycle inside Runner; building could produce unreliable results.
Cycle details:
→ Target 'Runner': ExtractAppIntentsMetadata
○ Target 'Runner' has copy command from '/Users/MACPC/Library/Developer/Xcode/DerivedData/Runner-fjykmfstetqpxeegotevlnbgnqtk/Build/Products/Debug-iphonesimulator/OneSignalNotificationServiceExtension.appex' to '/Users/MACPC/Library/Developer/Xcode/DerivedData/Runner-fjykmfstetqpxeegotevlnbgnqtk/Build/Products/Debug-iphonesimulator/Runner.app/PlugIns/OneSignalNotificationServiceExtension.appex'
○ That command depends on command in Target 'Runner': script phase “Thin Binary”
○ Target 'Runner' has process command with output '/Users/MACPC/Library/Developer/Xcode/DerivedData/Runner-fjykmfstetqpxeegotevlnbgnqtk/Build/Products/Debug-iphonesimulator/Runner.app/Info.plist'
○ Target 'Runner' has copy command from '/Users/MACPC/Library/Developer/Xcode/DerivedData/Runner-fjykmfstetqpxeegotevlnbgnqtk/Build/Products/Debug-iphonesimulator/OneSignalNotificationServiceExtension.appex' to '/Users/MACPC/Library/Developer/Xcode/DerivedData/Runner-fjykmfstetqpxeegotevlnbgnqtk/Build/Products/Debug-iphonesimulator/Runner.app/PlugIns/OneSignalNotificationServiceExtension.appex'
Raw dependency cycle trace:
target: ->
node: <all> ->
command: <all> ->
node: /Users/MACPC/Library/Developer/Xcode/DerivedData/Runner-fjykmfstetqpxeegotevlnbgnqtk/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects-normal/arm64/ExtractedAppShortcutsMetadata.stringsdata ->
command: P0:target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49-:Debug:ExtractAppIntentsMetadata ->
node: <target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49--fused-phase5--cp--embed-pods-frameworks> ->
command: P0:::Gate target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49--fused-phase5--cp--embed-pods-frameworks ->
node: /Users/MACPC/Library/Developer/Xcode/DerivedData/Runner-fjykmfstetqpxeegotevlnbgnqtk/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/InputFileList-1EF15891FDC30E5AB246A27A-Pods-Runner-frameworks-Debug-input-files-f84ae2d16402feb0918249beabe0354e-resolved.xcfilelist ->
command: P2:target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49-:Debug:WriteAuxiliaryFile /Users/MACPC/Library/Developer/Xcode/DerivedData/Runner-fjykmfstetqpxeegotevlnbgnqtk/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/InputFileList-1EF15891FDC30E5AB246A27A-Pods-Runner-frameworks-Debug-input-files-f84ae2d16402feb0918249beabe0354e-resolved.xcfilelist ->
node: <target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49--fused-phase4-copy-files> ->
command: P0:::Gate target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49--fused-phase4-copy-files ->
node: <Copy /Users/MACPC/Library/Developer/Xcode/DerivedData/Runner-fjykmfstetqpxeegotevlnbgnqtk/Build/Products/Debug-iphonesimulator/Runner.app/PlugIns/OneSignalNotificationServiceExtension.appex> ->
CYCLE POINT ->
command: P0:target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49-:Debug:Copy /Users/MACPC/Library/Developer/Xcode/DerivedData/Runner-fjykmfstetqpxeegotevlnbgnqtk/Build/Products/Debug-iphonesimulator/Runner.app/PlugIns/OneSignalNotificationServiceExtension.appex /Users/MACPC/Library/Developer/Xcode/DerivedData/Runner-fjykmfstetqpxeegotevlnbgnqtk/Build/Products/Debug-iphonesimulator/OneSignalNotificationServiceExtension.appex ->
node: <target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49--fused-phase3-thin-binary> ->
command: P0:::Gate target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49--fused-phase3-thin-binary ->
node: <execute-shell-script-18c1723432283e0cc55f10a6dcfd9e02f1eee2015e8ff5ebcd27678f788c2826-target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49-> ->
command: P2:target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49-:Debug:PhaseScriptExecution Thin Binary /Users/MACPC/Library/Developer/Xcode/DerivedData/Runner-fjykmfstetqpxeegotevlnbgnqtk/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Script-3B06AD1E1E4923F5004D2608.sh ->
node: /Users/MACPC/Library/Developer/Xcode/DerivedData/Runner-fjykmfstetqpxeegotevlnbgnqtk/Build/Products/Debug-iphonesimulator/Runner.app/Info.plist/ ->
directoryTreeSignature: � ->
directoryContents: /Users/MACPC/Library/Developer/Xcode/DerivedData/Runner-fjykmfstetqpxeegotevlnbgnqtk/Build/Products/Debug-iphonesimulator/Runner.app/Info.plist ->
node: /Users/MACPC/Library/Developer/Xcode/DerivedData/Runner-fjykmfstetqpxeegotevlnbgnqtk/Build/Products/Debug-iphonesimulator/Runner.app/Info.plist ->
command: P0:target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49-:Debug:ProcessInfoPlistFile /Users/MACPC/Library/Developer/Xcode/DerivedData/Runner-fjykmfstetqpxeegotevlnbgnqtk/Build/Products/Debug-iphonesimulator/Runner.app/Info.plist /Users/MACPC/Desktop/MYAPP/ios/Runner/Info.plist ->
node: /Users/MACPC/Library/Developer/Xcode/DerivedData/Runner-fjykmfstetqpxeegotevlnbgnqtk/Build/Products/Debug-iphonesimulator/Runner.app/PlugIns/OneSignalNotificationServiceExtension.appex ->
command: P0:target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49-:Debug:Copy /Users/MACPC/Library/Developer/Xcode/DerivedData/Runner-fjykmfstetqpxeegotevlnbgnqtk/Build/Products/Debug-iphonesimulator/Runner.app/PlugIns/OneSignalNotificationServiceExtension.appex /Users/MACPC/Library/Developer/Xcode/DerivedData/Runner-fjykmfstetqpxeegotevlnbgnqtk/Build/Products/Debug-iphonesimulator/OneSignalNotificationServiceExtension.appex
I cannot understand what's the problem.
Thank you all.
Recently, I was trying to run all of my work on MacOS, and as usual, I imported Python's library and ran it, but when I wanted to import one of the libraries from Google called "MediaPipe Hands", I faced a problem in which my kernel would die immediately and I had to restart the kernel again and again.
Here is the error log:
[I 13:34:24.126 NotebookApp] KernelRestarter: restarting kernel (1/5), new random ports
error 13:34:24.133: Error in waiting for cell to complete [Error: Canceled future for execute_request message before replies were done
I don't know how to fix it, or should I change my Python version?
Thank you!
It would be nice for Apple to integrate chatgpt, Open AI, and create their own artificial intelligence. Siri is not equipped to answer questions that AI can. With increasing AI prevalence and usability, Apple is behind.
Message to Apple: PLEASE UTILIZE AI TO MAKE APPLE THE BEST PLATFORM.
It's been almost a month since we submitted the documents required for verification of our Developer Account Enrollment but still, there hasn't been any update since then from Apple neither they have provided us with a timeline.
Can anyone help and let me know how long do they usually take??
I am a webdeveloper and have multiple programs which i need to "debug". For example Safari (javascript), but also VSCode etc.
All these programs use different keys to pause, step in, step over etc.
I would like to build my own small keyboard (via an arduino for example) and use a few keys to simulate those keys.
What i need to know is which program is active, is it possible to make a "background" program for my mac which detects if the focus is on Safari, VSCode etc so if i press a key via the arduino, i can send different keycodes to the Mac?