Xcode 7.1 encountered an error when adding Syphon.framework to the project.

Asked 1 years ago, Updated 1 years ago, 114 views

Xcode 7.1 encountered an error when adding Syphon.framework.

I don't know what it means at all, but I think I followed the steps below.

1.Add the framework to your Xcode project.
The simple way is to drag it to the Framework group in the project window.
Link your application with Symphony at build time.

2.Add the framework to the Link Binary With Libraries build phase of your application's target.
Copy the framework into your application's bundle.

3.Add a new Copy Files build phase to your application's target.
Select Framework as the destination.
Drag the Syphon framework into the build phase.

The error message is as follows:

ld —framework not found Symphony
clang:error:linker command failed with exit code 1 (use-v to see invocation)
Screenshot 1

The environment is OS 10.10.5.
How can I run it through compilation?Thank you for your cooperation.

objective-c xcode macos xcode7

2022-09-29 21:47

1 Answers

Perhaps the framework could not be found because the Framework Search Paths settings were missing.

Specify the directory where the framework is located in the "Framework Search Paths" in the project build configuration.

However, I think it will probably be difficult, so

The easiest way to do this is to start over, select a project target, and drag and drop the framework to Embedded Binaries.

Enter a description of the image here


2022-09-29 21:47

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.