• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Intermittently (most of the time) cannot run my tests in XCode 8y
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Intermittently (most of the time) cannot run my tests in XCode 8y


  • Subject: Intermittently (most of the time) cannot run my tests in XCode 8y
  • From: "Patrick J. Collins" <email@hidden>
  • Date: Tue, 20 Sep 2016 17:01:59 -0700 (PDT)

I was forced to upgrade to XCode 8 in order to test my app on the latest
iOS, and ever since then I have been going through a ridiculous amount
of pain where my test suite will not run intermittently.

For example today, I was trying to run my tests directly on my iPad
(cannot use the simulator due to my code using NEON intrinsics), and it
worked fine..  Ran tests, did some coding, ran tests again.. more
coding, testing.. then all of a sudden:

  dyld: could not load inserted library
  'PLATFORMS/iPhoneOS.platform/Developer/Library/PrivateFrameworks/IDEBundleInjection.framework/IDEBundleInjection'
  because image not found

  *** If you believe this error represents a bug, please attach the log
  file at /Users/patrick/Library/Developer/Xcode/DerivedData/MyApp-hjfppqmgxqrprucknvwtakynpqxs/Logs/Test/2B6C2EAE-5C13-40C9-BACE-3A00AA74F3EF/Session-UnitTests-2016-09-20_124123-gk3pW0.log

..  Try over and over, it crashes every time with that same error..

I deleted derrived data, rebooted my iPad, rebooted my computer..
nothing helps.

I then switch to my iPhone..  It builds.. says "Running tests".. spinner
spins forever.. nothing actually happens in the console, but the app
actually runs-- rather than the unit test target??  I wait a while..
nothing is happen..  switch back to iPad..  Rerun tests.. now they run
and everything is fine...

ok great.. do more coding... tests run... more coding.. tests run..
hours go by.. everything is great.. then all of a sudden..

  dyld: could not load inserted library
  'PLATFORMS/iPhoneOS.platform/Developer/Library/PrivateFrameworks/IDEBundleInjection.framework/IDEBundleInjection'
  because image not found

  *** If you believe this error represents a bug, please attach the log
  file at /Users/patrick/Library/Developer/Xcode/DerivedData/MyApp-hjfppqmgxqrprucknvwtakynpqxs/Logs/Test/2B6C2EAE-5C13-40C9-BACE-3A00AA74F3EF/Session-UnitTests-2016-09-20_124123-gk3pW0.log

...

ARRRGH.. So that's why I am writing here.  This is really driving me
crazy.

Patrick J. Collins
http://collinatorstudios.com

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Intermittently (most of the time) cannot run my tests in XCode 8y
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: Re: Xcode 8: Outlet name changed by IB?
  • Next by Date: Re: Intermittently (most of the time) cannot run my tests in XCode 8y
  • Previous by thread: Re: Xcode 8: Outlet name changed by IB?
  • Next by thread: Re: Intermittently (most of the time) cannot run my tests in XCode 8y
  • Index(es):
    • Date
    • Thread