1

recently started to make apps with XCode. I got this error after I installed cocoapods and used pod init and install... haven't even started to write codes and it failed... Any idea what might cause it? I tried all the methods online but didn't work

The following pictures are the screenshots of errors:

enter image description here

enter image description here

new screen shot

J.Titor.0
  • 79
  • 12
  • You need to add additional frameworks to your project. – Chanchal Warde Jan 26 '18 at 06:31
  • 'Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_SFSafariViewController", referenced from: objc-class-ref in TwitterKit(TWTRWebAuthenticationViewController.o) objc-class-ref in TwitterKit(TWTRLoginUtils.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)' – J.Titor.0 Jan 26 '18 at 06:46
  • @ChanWarde I pod install and update TwitterKit. Do I need to add more? – J.Titor.0 Jan 26 '18 at 06:46
  • It takes me forever just to import a library/package... why is it so difficult x_x and tons of tons of errors... – J.Titor.0 Jan 26 '18 at 06:49
  • Ok, @J.Titor.0 send me a copy of your project will resolve all issues and send it back to you. Plus write the solution to every error you got. – Chanchal Warde Jan 26 '18 at 06:55

1 Answers1

1

the SafariServices framework is only available on iOS9 and above. and Please ensure that you have added SafariServices Framework and to run on older versions of iOS ? Try setting it as optional otherwise required.

enter image description here

MAhipal Singh
  • 4,745
  • 1
  • 42
  • 57