gvaish / hpios

High Performance iOS Apps
154 stars 59 forks source link

Building the project #6

Open idelovski opened 6 years ago

idelovski commented 6 years ago

Hi,

thanks for the book.

I have few issues with the code downloaded from here. First, it fails with link error:

duplicate symbol _segues in: /Users/idelovski/Library/Developer/Xcode/DerivedData/HighPerformance-fslhbvxbhqyyfscwyuvljcrtiowc/Build/Intermediates/HighPerformance.build/Debug-iphonesimulator/HighPerformance.build/Objects-normal/x86_64/HPChapter03AllTableViewController.o /Users/idelovski/Library/Developer/Xcode/DerivedData/HighPerformance-fslhbvxbhqyyfscwyuvljcrtiowc/Build/Intermediates/HighPerformance.build/Debug-iphonesimulator/HighPerformance.build/Objects-normal/x86_64/HPChapterViewController.o

Is there a quick fix I can do to this problem?

My profile does not include iCloud, Push notifications, Keychain sharing and maybe some other features needed by this broject. Is there a short tutorial for building it.

I have several Macs but I was testing it on 10.12.5 Sierra and Xcode 8.3.3. as I wanted to have build environment closer to the book release date. Should I use older or newer Xcode?

gvaish commented 6 years ago

Hi @idelovski,

I have never seen this problem. I just compiled the app on High Sierra 10.13.3 / Xcode 9.1 (9B55) and it ran just fine.

Can you try cleaning the project and rebuilding?

jacobsapps commented 6 years ago

I think I struggled with a similar issue. It was a code sign problem - I had to assign each of the 5 targets to my own development team or code signing would fail.