Closed niazi619 closed 3 years ago
Hi there. Quick question, are you running on one of the new Apple Silicon macs?
Yes it's M1 macbook pro
Duplicate of #8128
I am having this issue on intel Mac as well. Xcode version 12.5
If this is happening on Intel, I'd suggest cleaning the product, deleting your Derived Data folder, and then doing a ./bootrap.sh
.
Already did that, still same. @electricRGB
Hmmm. Strange. Perhaps ./bootstrap.sh --force
What version of swift is being used?
Alternatively, delete your local fork and then clone again? Though that's a last resort.
@electricRGB Its still same. Clone project again and ran ./bootstrap.sh --force.
Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28)
If I comment import SwiftyJSON
Xcode starts giving error for No such module 'XCGLogger'
. I believe this is some lining issue.
During your bootstrap
phase, do you get any messages about Application-Services
?
@saqibomer I have the same issue with MacBook Intel based processor, Did you manage to solve it?
@electricRGB I have the same issue with MacBook Intel based processor, Did you manage to solve it?
@dragonbattlesun I'm not sure what the issue is. The problem is that this issue can be caused by multiple things and Xcode throws this up because it doesn't know what else to throw up.
I have the same issue. Pull the repo, run sh ./bootstrap.sh
, open Client.xcodeproj
and build. Cleaning derived data doesn't help. I don't see a message about Application-Services
during the bootstrap
phase.
I have a MacBook Pro Intel running macOS 11.6.1 and I use Xcode Version 13.1.
@philipphofmann
Hello! We're currently running with Swift 5.5.1 and Xcode 13.1, Carthage 0.38.0 and Node v17.2.0. I suspect the bootstrap installation didn't go as planned on your machine. Could you please have run sh ./bootstrap.sh --force
and look out for any error messages? Error messages could be in the middle of the logs and not necessarily at the end I have found, when running this script. When Xcode doesn't see the dependencies (SwiftyJSON in that case) it's usually because they were not installed properly with Carthage.
To give you a better idea of what to expect and not, I attach here logs of what a sh ./bootstrap.sh --force
looks like on my machine.
Thanks @lmarceau for your quick response. My logs are different. They don't contain a line for building SwiftyJSON
. In Carthage/Build/iOS/
I see all the compiled frameworks, but not SwiftyJSON
.
So I tried running carthage update SwiftyJSON
, but it keeps hanging at *** Fetching swift-protobuf
. I cancelled the command after 5 minutes.
*** Fetching Fuzi
*** Fetching MappaMundi
*** Fetching shavar-prod-lists
*** Fetching onepassword-app-extension
*** Fetching sentry-cocoa
*** Fetching GCDWebServer
*** Fetching SwiftyJSON
*** Fetching SDWebImage
*** Fetching telemetry-ios
*** Fetching SnapKit
*** Fetching XCGLogger
*** Fetching SwiftKeychainWrapper
*** Fetching A-Star
*** Fetching swift-protobuf
I'm not sure if this is related, bit I'm seeing a few builds on BitRise fail at the fetching/cloning repos step where GH just doesn't respond and eventually times out. Not sure what's going on and will investigate further.
@philipphofmann can you try running carthage bootstrap $CARTHAGE_VERBOSE --platform ios --color auto --cache-builds
with $CARTHAGE_VERBOSE
being --verbose
in the carthage_command.sh
file? And see if you can get some more information as to what is happening there.
I am also experiencing this issue.
Here is the log when I run sh ./bootstrap.sh
Here is the output when I run carthage bootstrap --verbose --platform ios --color auto --cache-builds
@tsekityam It seems you're using Swift version 5.5.2 while the Application-services framework requires 5.5.1. Could you make sure you're using this particular version and try again?
*** Skipped installing application-services binary due to the error:
"Incompatible Swift version - framework was built with 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6) and the local version is 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30)."
I'm try to run repo on my machine but it's showing this error. I followed all steps which mentioned in details but still showing this error and code is not complied. Please help me on this regards.
┆Issue is synchronized with this Jira Task