Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error when debugging on 7.1 device swift xcode6 beta 3

Tags:

xcode

ios

swift

I have a project that worked fine in beta2 but now it's broken with the following runtime error.

dyld: Symbol not found: __TWPVSs26AutoreleasingUnsafePointerSs8_Pointer
  Referenced from: /var/mobile/Applications/6A8ABF68-4B3D-464A-9322-3B3F61B429E2/MovieLookUp.app/MovieLookUp
  Expected in: /private/var/mobile/Applications/6A8ABF68-4B3D-464A-9322-3B3F61B429E2/MovieLookUp.app/Frameworks/libswift_stdlib_core.dylib
 in /var/mobile/Applications/6A8ABF68-4B3D-464A-9322-3B3F61B429E2/MovieLookUp.app/MovieLookUp

I have changed all arrays etc. to the new standard (got nice warnings and autocorrection boxed for them). I'm pretty new to iOS coding so I need some guidance that might give me a better clue at this matter.

I still have a warning and get the same problem as mentioned in: relocatable dylibs (e.g. embedded frameworks) are only supported on iOS 8.0 and later (@rpath/libswift_stdlib_core.dylib)

Thanks!

like image 576
Dan Avatar asked Jul 08 '14 04:07

Dan


1 Answers

I was getting the same error and I solved it by:

  1. Opening the organizer in XCode 6 Beta3 (Window -> Organizer)

  2. Selecting the "Projects" tab at the top

  3. Selecting my project in the left hand side column

  4. Selecting the "Delete..." button next to the Derived Data location

My swift application now runs on iOS 7.1.2 on my iPhone 4

like image 75
klinger Avatar answered Oct 17 '22 14:10

klinger