BranchMetrics/ios-branch-deep-linking-attribution

Unable to Integrate Branch using Carthage

Closed this issue · 0 comments

Describe the bug

We are attempting to upgrade from 1.45.1 to 2.2.1 however, we're running into a build error. I tried downgrading to 2.2.0 and encountered the same error.

BranchSDK.xcodeproj cannot be opened because it is missing its project.pbxproj file

Steps to reproduce

Stack Trace

A shell task (/usr/bin/xcrun xcodebuild -project /Users/<username>/Code/<ProjectName>/Carthage/Checkouts/ios-branch-deep-linking/carthage-files/BranchSDK.xcodeproj CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES -list) failed with exit code 74:
2023-09-20 11:00:58.360 xcodebuild[44694:1986969] Writing error result bundle to /var/folders/g3/90yr8qdj59d4811swwxggy540000gq/T/ResultBundle_2023-20-09_11-00-0058.xcresult
xcodebuild: error: Unable to read project 'BranchSDK.xcodeproj' from folder '/Users/<username>/Code/<ProjectName>/Carthage/Checkouts/ios-branch-deep-linking/carthage-files'.
	Reason: Project /Users/<username>/Code/<ProjectName>/Carthage/Checkouts/ios-branch-deep-linking/carthage-files/BranchSDK.xcodeproj cannot be opened because it is missing its project.pbxproj file.

Expected behavior

Branch should be able to be integrated via Carthage without issue.

SDK Version

2.2.1

XCode Version

14.3.1

Device

iPhone 14

OS

16.4

Additional Information/Context

No response