I’m developing a Ionic Capacitor 4 app.
My computer is an iMac with monterey and Intel I7 CPU
Until this morning I was using succesfuly plugin’s version 3.4.0, after the update it doesn’t work anymore.
I’ve tried removing and reistalling the plugin again without any luck on real device (it still seems to be working on simulator)
I get this kind of error if I install it on a real device
Building for iOS, but linking in dylib file (/Users/francescodegiorgio/Library/Developer/Xcode/DerivedData/App-fzpdcmihaxuphrbsyzxauwqesjby/Build/Products/Debug-iphoneos/FBAEMKit.framework/FBAEMKit) built for iOS Simulator, file ‘/Users/francescodegiorgio/Library/Developer/Xcode/DerivedData/App-fzpdcmihaxuphrbsyzxauwqesjby/Build/Products/Debug-iphoneos/FBAEMKit.framework/FBAEMKit’ for architecture arm64
this is a message I get running the simulator
if i revert my plugin to version 3.4.0 it works fine again, If i do the same on my Macbook Pro with M1 cpu, works fine.
I’ve noticed that FBAEMKit.release.xcconfig has a different configuration in version 4.0.0-1
this is 3.4.0
CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/FBAEMKit
FRAMEWORK_SEARCH_PATHS = (inherited)“{PODS_ROOT}/FBAEMKit/XCFrameworks” “${PODS_ROOT}/FBAEMKit/XCFrameworks/FBAEMKit.xcframework/ios-arm64_armv7” “${PODS_ROOT}/FBAEMKit/XCFrameworks/FBAEMKit.xcframework/ios-arm64_i386_x86_64-simulator” “${PODS_ROOT}/FBAEMKit/XCFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst” “${PODS_ROOT}/FBSDKCoreKit_Basics/XCFrameworks” “${PODS_ROOT}/FBSDKCoreKit_Basics/XCFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_armv7” “${PODS_ROOT}/FBSDKCoreKit_Basics/XCFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_i386_x86_64-simulator” “${PODS_ROOT}/FBSDKCoreKit_Basics/XCFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst”
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
OTHER_LDFLAGS = $(inherited) -framework “FBSDKCoreKit_Basics”
PODS_BUILD_DIR = ${BUILD_DIR}
PODS_CONFIGURATION_BUILD_DIR = PODSBUILDDIR/(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
PODS_ROOT = ${SRCROOT}
PODS_TARGET_SRCROOT = ${PODS_ROOT}/FBAEMKit
PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
SKIP_INSTALL = YES
USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES
this is 4.0.0-1
CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/FBAEMKit
FRAMEWORK_SEARCH_PATHS = (inherited)“{PODS_ROOT}/FBAEMKit/XCFrameworks” “${PODS_ROOT}/FBAEMKit/XCFrameworks/FBAEMKit.xcframework/ios-arm64” “${PODS_ROOT}/FBAEMKit/XCFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-maccatalyst” “${PODS_ROOT}/FBAEMKit/XCFrameworks/FBAEMKit.xcframework/ios-arm64_x86_64-simulator” “${PODS_ROOT}/FBSDKCoreKit_Basics/XCFrameworks” “${PODS_ROOT}/FBSDKCoreKit_Basics/XCFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64” “${PODS_ROOT}/FBSDKCoreKit_Basics/XCFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-maccatalyst” “${PODS_ROOT}/FBSDKCoreKit_Basics/XCFrameworks/FBSDKCoreKit_Basics.xcframework/ios-arm64_x86_64-simulator”
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
OTHER_LDFLAGS = $(inherited) -framework “FBSDKCoreKit_Basics”
PODS_BUILD_DIR = ${BUILD_DIR}
PODS_CONFIGURATION_BUILD_DIR = PODSBUILDDIR/(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
PODS_ROOT = ${SRCROOT}
PODS_TARGET_SRCROOT = ${PODS_ROOT}/FBAEMKit
PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
SKIP_INSTALL = YES
USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES
thank you