Xcode 8 stuck on "Signing Product" - xcode8

I m building a SiriKit test application, I have 4 targets in project:
The CocoaTouch Framework build successfully, but when I build the app(The Zero Target) Xcode always stuck on:
I set "Automatically manage signing" for all targets, still not worked.(According to this LINK)
Any help would be appreciated!

Related

Building a asset pack in a Ionic project in Android studio

I have recently converted my only cordova project to use Ionic and Capacitor.
Publishing to the app store I find my app is too big (in the aab format), because I have too many images.
I understand I need to create an asset pack. All I can find about the details of a creating an asset pack is https://developer.android.com/guide/playcore/asset-delivery/integrate-native
(anyone have any better information?).
After following those steps, in VS Code I ...
> ionic build
> ionic capacitor build
Then in Android studio I do.
Menu | Build | Make Project
I get the following error:
Build file 'C:\code\myco-match\android\build.gradle' line: 27
A problem occurred evaluating root project 'android'.
> Could not find method android() for arguments [build_19eh0vogqj489iczcfbatfj08$_run_closure2#69641835] on root project 'android' of type org.gradle.api.Project.
Line 27 is
android {
assetPacks = [":species-images"]
}
Did I leave out a step in the build?
Am I missing something in my gradle configuration? I am not that familiar with gradle).
Did I forget something in my initial app conversion? It was my 1st cordova project converted to my 1st ionic and capacitor project.
Any ideas?
The problem is that in the reference in my first link above I mis-read step 2.
https://developer.android.com/guide/playcore/asset-delivery/integrate-native
Reading the following stack overflow issue
Gradle sync failed: Could not find method android() for arguments on root project on android studio
Gabriele Mariotti said the poster "using the wrong build.gradle file.
You can't define the android block in the top-level file."
Reviewing the instructions step 4 says "In the project’s app build.gradle file"
I had incorrectly changed the top-level build.gradle file.
Step 7 lists build.gradle as if you change it, but that list item ought to be /app/build.gradle.
Now I can build and package using android studio.

Couldn't build Objective-C module 'Firebase'

Can someone help me out with this?
When I compile the application I get an error equal to this: Could not build Objective-C module 'Firebase'
Please take a look https://imgur.com/a/enbAN25
I tried to use this method and it did not work
1. Quit Xcode.
2. Delete project's temp files located at ~/Library/Developer/Xcode/DerivedData
3. Delete ProjectName.xcworkspace
4. Delete Podfile.lock file and Pods folder
5. Run pod install.
6. Open the newly created ProjectName.xcworkspace file and build.
This problem appeared after upgrading to Xcode 12.
Apparently removing the build configuration for valid architectures (VALID_ARCHS) fixes the problem. See Xcode 12 release notes.
To fix, just set:
Build Settings / TARGET / Architectures / Build Active Architecture
Only / Yes
I hope to help other people not to waste time with this

CGAL 4.9 CGAL_HEADER_ONLY build

The following information comes from CGAL download page:
https://github.com/CGAL/cgal/releases
"The CGAL Open Source Project is pleased to announce the release 4.9
of CGAL, the Computational Geometry Algorithms Library."
I have established the variable CGAL_HEADER_ONLY to TRUE in the configuration step from NMAKE, then I have generated the projects for Visual Studio 14 2015 Win64. I have not build the libraries, as I understand it is not needed for a header-only use.
Now when I try to build my test application I get the following message:
LINK : fatal error LNK1104: cannot open file 'libCGAL-vc140-mt-4.9.lib'
There should not be need for .libs in a header only build mode.
Can anyone help? Thank you!

How to link a stand-alone Swift OS X app to a private framework (also created in Swift)?

I get the following error when trying to embed a private framework into a Swift OS X app:
dyld: Library not loaded: #rpath/CustomCalcs.framework/Versions/A/CustomCalcs
Referenced from: /Users/sam/Library/Developer/Xcode/DerivedData/TestFramework-ckcpduuqyfclssceomyzqbxgbjdi/Build/Products/Debug/TestFramework.app/Contents/MacOS/TestFramework
Reason: image not found
I am trying to simulate the scenario where I am the receiver of a .framework file from a 3rd party and don't have access to the source code or Xcode project file (even though in my simple test of course I do)
Steps I have taken:
1. Add file to my target project making sure to copy it into the project
2. The Xcode syntax highlighting/completion then becomes aware of the classes within the framework - this is good
3. I add a "copy file" step in the Xcode "build phase". I have added it to "frameworks"
4. When examining the directory that the app runs from within DerivedData, I can find no framework directory and no .framework file
5. When I run the app the error above occurs
It would appear that I need to setup a step whereby the .framework file is copied into a deployment directory AND somehow the app knows to look in this location. How specifically do I go about doing this in Xcode?
I may be wrong but is seems like a case of "Linked Frameworks and Libraries" vs "Embedded Binaries".
Click on your project Workspace
Select your project Target
In the General tab, remove the Framework from "Linked Frameworks and Libraries"
Add it to "Embedded Binaries"
Build
It will be automatically added to the "Linked Frameworks and Libraries" also but you'll have it once instead of two times.

Adding 3rd party framework into Xcode 4 project

I'm trying to add a custom 3rd party framework into my Xcode 4 project for a program I'm trying to write for Mac OSX. The framework is libircclient found here: http://www.ulduzsoft.com/libircclient/
I have opened the Xcode project that was in the project cocoa directory and compiled it. Then I tried to drag the IRCClient.framework from the Products into my Xcode application but when I try to compile it there (my app currently is empty, its a brand new project), I get the following error:
dyld: Library not loaded: #executable_path/../Frameworks/IRCClient.framework/Versions/A/IRCClient
Referenced from: /Users/Ray/Library/Developer/Xcode/DerivedData/IRC-cokndyzxhwruxqevwngcznzijjcm/Build/Products/Debug/IRC.app/Contents/MacOS/IRC
Reason: image not found
Am I adding the framework correctly? I also tried right clicking on the IRCClient.framework and copying the whole directory to my application then tried to add it in the build phases in my app. I get the same error. What am I doing wrong?
It seems you forgot one single step:
the 'copy files' build phase must be added to your target (Add buildphase)
Set the destination to 'Frameworks' and drop your framework. (I was unable to select it after clicking the add button)