Skip to content

XCode project: framework not found CocoaLumberjack #4560

@SephReed

Description

@SephReed

Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):
✔ Getting NativeScript components versions information...
⚠ Update available for component nativescript. Your current version is 5.3.1 and the latest available version is 5.3.2.
✔ Component tns-core-modules has 5.4.0-next-2019-04-03-175957-02 version and is up to date.
✔ Component tns-android has 5.4.0-2019-04-03-095324-01 version and is up to date.
✔ Component tns-ios has 5.4.0-2019-04-03-180044-02 version and is up to date.

Describe the bug

For whatever reason, I'm unable to build an ipa using command line. I am attempting to build the ipa using the xcode project, but the project file appears to be broken.

ld: warning: directory not found for option '-F/Users/seph/Library/Developer/Xcode/DerivedData/ChooseHealth-anmnaswytduzyghejefmipsqfpdo/Build/Intermediates.noindex/ArchiveIntermediates/ChooseHealth/BuildProductsPath/Release-iphoneos/CocoaLumberjack'
ld: warning: directory not found for option '-F/Users/seph/Library/Developer/Xcode/DerivedData/ChooseHealth-anmnaswytduzyghejefmipsqfpdo/Build/Intermediates.noindex/ArchiveIntermediates/ChooseHealth/BuildProductsPath/Release-iphoneos/HockeySDK-Source'
ld: warning: directory not found for option '-F/Users/seph/Library/Developer/Xcode/DerivedData/ChooseHealth-anmnaswytduzyghejefmipsqfpdo/Build/Intermediates.noindex/ArchiveIntermediates/ChooseHealth/BuildProductsPath/Release-iphoneos/SVGKit'
ld: framework not found CocoaLumberjack
clang: error: linker command failed with exit code 1 (use -v to see invocation)

To Reproduce

Open the xcode project, set target to Generic iOS Device, run Product -> Build

Expected behavior
The project should build

Sample project

Default sample project

Additional context

The extra tns modules I have are

    "nativescript-cardview": "^3.1.1",
    "nativescript-dom": "2.0.2",
    "nativescript-hockey-sdk": "1.2.0",
    "nativescript-plugin-firebase": "^8.2.0",

If CocoaLumberjack is not a dependency of nativescript core, perhaps it is one of the above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions