iOS Build Environment Help Center

Extra frameworks not detected

append delete Niels Tiercelin

Windows 11 Pro 23H2
Builder version 3.64
iOS 17.4 SDK

Build Log:
https://pmbaty.com/paste/?007ded64ca18933a#B62RXefyESbnUuXMBoPzPkj4JadapcbrQHNNhLdoQyL1

Hi, I'm trying to build a Unity project containing the Facebook SDK. Following the documentation I've downloaded the pre-compiled frameworks and injected them using the "Add extra framework" button. The frameworks folders are located in a folder named "XCFrameworks" at this path "C:\Users\username\iOS Project Builder for Unity\SDK\System\Library".

But the builder doesn't seem to detect the frameworks, it always says "+ XCFrameworks: 0 supplied" during the process.
I don't know what I did wrong?

Best regards,

Extra compiler flags: -F"/System/Library/XCFrameworks"
Extra linker flags:
-F"/System/Library/XCFrameworks"
-framework FBAEMKit
-framework FBSDKCoreKit
-framework FBSDKCoreKit_Basics
-framework FBSDKGamingServicesKit
-framework FBSDKLoginKit
-framework FBSDKShareKit

Reply RSS

Replies

append delete #1. Niels Tiercelin
append delete #2. Pierre-Marie Baty

Hello

Nope. Please read the contents of the "DO NOT PUT ANYTHING ELSE HERE.txt" file that's in the builder's SDK directory, and that will tell you what you did wrong.

Do *not* corrupt your iOS SDK directory. Ever.

append delete #3. Niels Tiercelin

Thanks for pointing that out. I have uninstalled the builder, reinstalled it properly and imported the keychain and SDK again.
My framework folder is now at the path "C:/iOS/Frameworks". In It are the .framework subdirectories for my target platform/architecture which is ARM64.

I still have issues:
https://pmbaty.com/paste/?1e81575039dd7078#HUA26nHC97jqXVy5UoQeG29CwonZe9v5fTiGgXMJkSjS

Compiler flags

%
-F"C:/iOS/Frameworks"
%

Linker flags

%
-ObjC
-F"C:/iOS/Frameworks"
-framework FBAEMKit
-framework FBSDKCoreKit
-framework FBSDKCoreKit_Basics
-framework FBSDKGamingServicesKit
-framework FBSDKLoginKit
-framework FBSDKShareKit
%
append delete #4. Pierre-Marie Baty

I do see you're affected by the "module not found" Swift error. It turns out there's something I must do to the Swift compiler (see the other thread).

But you have another problem here:

%
   + [arm64] Compiling Libraries\VoodooPackages\TinySauce\Internal\idfaAuthorization\NativeWrapper\Plugins\iOS\WithATT\IdfaAuthorizationNativeWrapper.mm...
FINDSTRá: Impossible dÆouvrir build\Release-iphoneos\UnityFramework\arm64\Libraries\VoodooPackages\TinySauce\Internal\idfaAuthorization\NativeWrapper\Plugins\iOS\WithATT\IdfaAuthorizationNativeWrapper.mm.obj.compflags
Fichier introuvable - BUILD\RELEASE-IPHONEOS\UNITYFRAMEWORK\ARM64\LIBRARIES\VOODOOPACKAGES\TINYSAUCE\INTERNAL\IDFAAUTHORIZATION\NATIVEWRAPPER\PLUGINS\IOS\WITHATT\IDFAAUTHORIZATIONNATIVEWRAPPER.MM.OBJ.COMPFLAGS
%

Is your Xcode project really in C:\iOS ? It looks typically like a Windows MAX_PATH error (pathnames longer than 255 characters are terribly supported on all Windows versions).

Reply

(Leave this as-is, it’s a trap!)

There is no need to “register”, just enter the same name + password of your choice every time.

Pro tip: Use markup to add links, quotes and more.

Moderators: Pierre-Marie Baty