universal framework for distribution - ios

Hello to all my dear friends, I look for your help once again. I created a personal framework and, following Internet guides, managed to run it simultaneously on both iosSimuletor and device. The problem occurs when, try to create the archive and then send to itunes connect. I pushed this error: clang: error: linker command failed with exit code 1 (use -v to see invocation). I started out from everything, changed from debug to release, other things found online. But nothing. Do you know what I have to change to the framwork project before I create the square? thank you

Related

When publishing a project (swift 4.2) in the AppStore, an error occurs when linking the libPrinterSDK library.a

All kind time of day. The project on Swift uses the SDK for blueTouth printer Mini Thermal Printer POS-5805DD. The libPrinterSDK library (included with the printer) has been added to the root of the project.a and the PrinterSDK header file.h, header-file is connected via bridge, when you run the project on a real device-everything works correctly, no errors occur. But when you try to build a project to upload to the AppStore, at the very end when linovke libprintersdk library.a an error appears:
ld: bitcode bundle could not be generated because
'/Users/ivan/Documents/MyProject/PrinterSDK/libPrinterSDK.a
(GCDAsyncSocket.o)' was built without full bitcode. All object files
and libraries for bitcode must be generated from Xcode Archive or
Install build file
'/Users/ivan/Documents/MyProject/PrinterSDK/libPrinterSDK.a' for
architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
If there is any experience of building a project with libPrinterSDK files.a and PrinterSDK.h, I would really appreciate any help. Thanks.
Im not sure your project has turn Enable Bitcode off yet, if not, try to set No like this image below and Archive project again.
If it doesn't work, you can refer here

Seg fault creating archive for swift app

At my wits end trying to archive a Swift iOS app for upload to the app store. The archive is failing with this error:
clang: error: unable to execute command: Segmentation fault: 11
clang: error: linker command failed due to signal (use -v to see invocation)
The app builds fine for development, and this is for an app that I've successfully archived/uploaded before. One thing that's changed is that my Apple developer account was migrated to a company account from an individual. I read somewhere that this issue can be solved by regenerating certificates/provisioning profiles, which I've done and are associated with the new team account. My question is whether anyone has run into this issue before in the context of migrating a individual to team account, and if people have any ideas for how to address this given that I've already tried new certificates/profiles.
Ok so after 24 hours of playing with certificates/profiles/cocoapods that I'll never get back, the solution was simply to go into "Build Settings" for the project and set "Enable Bitcode" to false.
Hopefully this helps anyone else who runs into this issue.

Unity4XC plug-in error

I'm using Unity 4.6 and Xcode. After updating Xcode to 7.1 version I'm getting this error while trying to run build for iphone:
Unexpected code bundle “Unity4XC.xcplugin”
The “Unity4XC.xcplugin” code bundle is not provided by Apple. Loading code not provided by Apple can have a negative effect on the safety and stability of Xcode or related tools.
I clicked on "Load Bundle".
Since then I'm getting this error:
Xcode quit unexpectedly while using the Unity4XC plug-in.
Click Reopen to open the application again. Click Report to see more detailed information and send a report to Apple.
I tried to open the project from within the Xcode program and it still not working.
If I try to open the project manually I get this error in xcode:
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Is there a connection to the problem?
What should try to do now?
Thanks.
Unfortunately, it's currently a known issue:
http://issuetracker.unity3d.com/issues/ios-build-and-run-doesnt-work-with-xcode-7-and-7-dot-1

Failed to run new ios xcode project

I have Yosemite 10.10.3 installed with Xcode 6 downloaded from Mac App Store. When I try to execute one Single view application project, newly created, without modify anything, I get the following error:
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Have I to install anything? Any idea of what's happening?
(Xcode newbie)
That could mean a few things, did you make sure to make the first view the "initial view controller"?
Is there any other error message or is there somewhere in your code that caused an error?

Apple Mach-O Linker Errors after restarting mac

I was prompted to restart the computer after a few updates were installed and since then my app keeps failing to build. It was working fine prior to restarting the computer. I don't believe xcode was one of the updates. I am currently running Xcode Version 4.6.3 (4H1503).
Apple Mach-O Linker errors:
(null): "_main", referenced from:
(null): Linker command failed with exit code 1 (use -v to see invocation)
I have tried removing all frameworks and adding them back.
Any idea what is causing the app to fail to build now?
After spending many hours trying to figure out what happened I finally discovered that somehow with the installation of the updates and restarting the computer many files were no longer listed in the Compile Sources section.
I have no idea why it happened.
To solve the issue I just had to add the files back.
If you're like me and have no clue what files actually are suppose to be there I just added all files available and then Xcode raised a warning stating which files it could not understand. I just went and removed any file that xcode didn't like in the Compiled Sources section.
Yes I know this a very crude way of handling it, but my project is working again now and that makes me happy. :-)

Resources