OneBusAway / onebusaway-ios

OneBusAway for iOS, written in Swift.
Other
82 stars 33 forks source link

Build Failed (fresher to Xcode) #717

Open shrudge opened 6 months ago

shrudge commented 6 months ago

I tried to setup and build this project into my machine but it shows package fetching errors

OBAKit 1 issue

I am very new to the swift development in terms of open source projects, can anybody help out, thanks !

ualch9 commented 6 months ago

Hi @shrudge, what version of Xcode are you running?

You can find this by going to Xcode in the toolbar and selecting About Xcode. Screenshot 2024-03-12 at 10 50 56 PM Screenshot 2024-03-12 at 10 51 19 PM

shrudge commented 6 months ago

Hey @ualch9 I am on 15.3. I pretty much thought it would be due to the xcode version incompatibility, isn’t it?

ualch9 commented 6 months ago

Actually, I encountered a similar SPM issue after updating Xcode last night. Try deleting derived data.

shrudge commented 6 months ago

Actually, I encountered a similar SPM issue after updating Xcode last night. Try deleting derived data.

i deleted the derived data and tried to build it, now its showing

image

i am running on xcode 15.3, I opened the OBAkit.xcodeproj as mentioned in the get started instructions, i am really sorry if i am making a big rookie mistake here...

Himindu-Kularathne commented 6 months ago

it is version incompatible, check this

Pahul-Sidhu commented 6 months ago
Screenshot 2024-03-22 at 3 03 47 PM

I am having all these issues while building. Would really appreciate the help ? My Xcode version is 15.0.1.

ualch9 commented 6 months ago

Hi everyone, please make sure you run scripts/generate_project and clear derived data before opening OBAKit.xcodeproj. I need more information to understand the issues you are having. If you are still having issues, please go to the Report Navigator, navigate to the most recent Build failure, and include a full screenshot or "Export..." the build logs.

Screenshot 2024-03-23 at 9 18 29 AM