-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting error Abort Trap: 6 when trying to Archive Swift app with AssetsPickerViewController. #111
Comments
Same shit! Doesn't work normal. fix plz |
The same environment and problems. Help me. |
do you have workaround for this issue? |
use xcode 13.2 archived. |
Downgrading ( for instance https://www.wootechy.com/iphone-issue/downgrade-xcode/ ) to 13.2 do the trick, I can confirm. |
Same issue with both Xcode 13.3 and 13.3.1 (while 13.2.1 archives). |
By setting 'Enable Bitcode' to 'No', the error is not coming with XCode 13.3.1. Try it once. https://help.apple.com/xcode/mac/11.0/index.html?localePath=en.lproj#/devde46df08a |
Check here: |
same problem. |
Issue Description
Getting error Abort Trap: 6 when trying to Archive app with AssetsPickerViewController.
What
The issue generate on AssetsPickerViewController (2.9.7). This could be an issue as a result of a change in the Swift compiler.
We received this error message from the compiler:
0 swift-frontend 0x0000000109ecdde7 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 39
1 swift-frontend 0x0000000109ecce38 llvm::sys::RunSignalHandlers() + 248
2 swift-frontend 0x0000000109ece440 SignalHandler(int) + 288
3 libsystem_platform.dylib 0x00007ff8188dadfd _sigtramp + 29
4 libsystem_platform.dylib 0x00007f8822f22ac8 _sigtramp + 18446743592847572200
5 libsystem_c.dylib 0x00007ff818810d24 abort + 123
6 swift-frontend 0x0000000109e1acda llvm::report_bad_alloc_error(char const*, bool) + 106
7 swift-frontend 0x0000000109e1acf2 out_of_memory_new_handler() + 18
8 libc++abi.dylib 0x00007ff81888296b operator new(unsigned long) + 43
9 swift-frontend 0x0000000109bdbefd llvm::Function::BuildLazyArguments() const + 77
10 swift-frontend 0x00000001079c4e87 llvm::objcarc::BundledRetainClaimRVs::insertRVCallWithColors(llvm::Instruction*, llvm::CallBase*, llvm::DenseMap<llvm::BasicBlock*, llvm::TinyPtrVectorllvm::BasicBlock*, llvm::DenseMapInfollvm::BasicBlock*, llvm::detail::DenseMapPair<llvm::BasicBlock*, llvm::TinyPtrVectorllvm::BasicBlock* > > const&) + 151
11 swift-frontend 0x00000001079d7f88 (anonymous namespace)::ObjCARCContract::run(llvm::Function&, llvm::AAResults*, llvm::DominatorTree*) + 1384
12 swift-frontend 0x0000000109c13380 llvm::FPPassManager::runOnFunction(llvm::Function&) + 1488
13 swift-frontend 0x0000000109c1a073 llvm::FPPassManager::runOnModule(llvm::Module&) + 67
14 swift-frontend 0x0000000109c13b39 llvm::legacy::PassManagerImpl::run(llvm::Module&) + 1161
15 swift-frontend 0x00000001051316df swift::performLLVMOptimizations(swift::IRGenOptions const&, llvm::Module*, llvm::TargetMachine*) + 3791
16 swift-frontend 0x00000001051328cc swift::performLLVM(swift::IRGenOptions const&, swift::DiagnosticEngine&, llvm::sys::SmartMutex, llvm::GlobalVariable, llvm::Module*, llvm::TargetMachine*, llvm::StringRef, swift::UnifiedStatsReporter*) + 2812
17 swift-frontend 0x000000010513baa5 swift::performLLVM(swift::IRGenOptions const&, swift::ASTContext&, llvm::Module*, llvm::StringRef) + 213
18 swift-frontend 0x0000000104bf6795 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 16565
19 swift-frontend 0x0000000104bb55d4 swift::mainEntry(int, char const**) + 1108
20 dyld 0x000000020c50f51e start + 462
21 dyld 0x0000000000000005 start + 18446744064912985269
error: Abort trap: 6 (in target 'AssetsPickerViewController' from project 'Pods')
Reproduce
Using Xcode 13.3, Archive a project that uses AssetsPickerViewController (2.9.7)
The text was updated successfully, but these errors were encountered: