iOS Share Extension Custom Code Issue When Deploying

Troubleshooting

I used the receive_share_intent pubdev package to add custom code to my flutterflow project to enable the system share drawer to send URLs to my app. This works on Android and on iOS only in the simulator. When I try to deploy iOS builds with this change included it will not deploy, even tho I can run it locally on the sim with no issues.

What have you tried so far?

I have tried many different debugging steps that Claude and GPT have suggested.

Cleaning, Pod reinstalls, deeper things to force the issue. Nothing has worked.

My best guess is that my IDE environment of Mac OS 15 and required Xcode 16 are doing something that codemagics Xcode 15.3 builder doesnt like.

here is the error I get:

Failed Step: Flutter build ipa and automatic versioning

Oops; flutter has exited unexpectedly: "ProcessException: Process exited abnormally with exit code -6: Command line invocation: /Applications/Xcode-15.3.app/Contents/Developer/usr/bin/xcodebuild -list User defaults from command line: IDEPackageSupportUseBuiltinSCM = YES 2024-12-16 21:49:32.028 xcodebuild[89834:115739]

[MT] DVTAssertions: ASSERTION FAILURE in DevToolsCore/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/DataModel/References/SynchronizedGroups/PBXFileSystemSynchronizedAbstractGroup.m:28 Details:

Assertion failed: IDEFileSystemSynchronizedGroupsAreEnabled()

Object: <PBXFileSystemSynchronizedRootGroup> Method: +allocWithZone: Thread: <_NSMainThread: 0x600002fd01c0>{number = 1, name = main} Hints: Backtrace: 0 -[DVTAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in DVTFoundation) 1 DVTAssertionHandler (in DVTFoundation) 2 DVTAssertionFailureHandler (in DVTFoundation) 3 DVTAssertionWarningHandler (in DVTFoundation) 4 -[PBXFileSystemSynchronizedAbstractGroup initWithName:path:sourceTree:] (in DevToolsCore) 5 -[PBXPListUnarchiver unarchiveObjectWithGlobalIDHexString:] (in DevToolsCore) 6 -[PBXPListUnarchiver decodeMutableObjectArrayFromPListArray:] (in DevToolsCore) 7 -[PBXPListUnarchiver decodeMutableObjectArrayForKey:] (in DevToolsCore) 8 -[PBXUnarchivingBinding readValueForObject:fromPListUnarchiver:] (in DevToolsCore) 9 -[PBXObject unarchiveValuesForArchiveMask:fromPListUnarchiver:] (in DevToolsCore) 10 -[PBXObject readFromPListUnarchiver:] (in DevToolsCore) 11 -[PBXReference readFromPListUnarchiver:] (in DevToolsCore) 12 -[PBXPListUnarchiver unarchiveObjectWithGlobalIDHexString:] (in DevToolsCore) 13 -[PBXPListUnarchiver decodeObjectForKey:] (in DevToolsCore) 14 -[PBXUnarchivingBinding readValueForObject:fromPListUnarchiver:] (in DevToolsCore) 15 -[PBXObject unarchiveValuesForArchiveMask:fromPListUnarchiver:] (in DevToolsCore) 16 -[PBXObject readFromPListUnarchiver:] (in DevToolsCore) 17 -[PBXContainer readFromPListUnarchiver:] (in DevToolsCore) 18 -[PBXProject readFromPListUnarchiver:] (in DevToolsCore) 19 -[PBXPListUnarchiver unarchiveObjectWithGlobalIDHexString:] (in DevToolsCore) 20 -[PBXPListUnarchiver decodeRootObject] (in DevToolsCore) 21 +[PBXProject projectWithFile:errorHandler:readOnly:] (in DevToolsCore) 22 -[Xcode3Project initWithFilePath:extension:workspace:options:error:] (in DevToolsCore) 23 _82+[IDEContainer retainedContainerAtFilePath:fileDataType:workspace:options:error:]block_invoke_2 (in IDEFoundation) 24 dispatchclient_callout (in libdispatch.dylib) 25 dispatchlane_barrier_sync_invoke_and_complete (in libdispatch.dylib) 26 DVTDispatchBarrierSync (in DVTFoundation) 27 -[DVTDispatchLock performLockedBlock:] (in DVTFoundation) 28 __82+[IDEContainer retainedContainerAtFilePath:fileDataType:workspace:options:error:]block_invoke (in IDEFoundation) 29 __58-[DVTModelObjectGraph performBlockCoalescingModelChanges:]_block_invoke (in DVTFoundation) 30 -[DVTModelGraphTransactionScope performTransaction:] (in DVTFoundation) 31 -[DVTModelObjectGraph performBlockCoalescingModelChanges:] (in DVTFoundation) 32 +[IDEContainer retainedContainerAtFilePath:fileDataType:workspace:options:error:] (in IDEFoundation) 33 -[IDEWorkspace configureWrappedWorkspaceWithError:] (in IDEFoundation) 34 __82+[IDEContainer retainedContainerAtFilePath:fileDataType:workspace:options:error:]block_invoke (in IDEFoundation) 35 +[IDEContainer retainedContainerAtFilePath:fileDataType:workspace:options:error:] (in IDEFoundation) 36 +[IDEContainer retainedWrappedWorkspaceForContainerAtFilePath:fileDataType:error:] (in IDEFoundation) 37 -[Xcode3CommandLineBuildTool resolveInputOptionsWithTimingSection:] (in Xcode3Core) 38 -[Xcode3CommandLineBuildTool run] (in Xcode3Core) 39 XcodeBuildMain (in libxcodebuildLoader.dylib) 40 -[XcodebuildPreIDEHandler loadXcode3ProjectSupportAndRunXcode3CommandLineBuildToolWithArguments:] (in xcodebuild) 41 -[XcodebuildPreIDEHandler runWithArguments:] (in xcodebuild) 42 main (in xcodebuild) 43 start (in dyld) Command: /usr/bin/arch -arm64e xcrun xcodebuild -list". A crash report has been written to /Users/builder/clone/flutter_01.log This crash may already be reported. Check GitHub for similar crashes.

Did you check FlutterFlow's Documentation for this topic?
Yes
2
1 reply