ios - Xcode project run in one device but not in another -
i'm testing xcode project in simulator , in 2 iphones 6. both iphones identical , bought on same time. couple of years ago. phone #1 running on ios 9.3.2 , phone #2 running on 9.3.1. have xcode pros deployment target of 9.3. xcode version 7.3
i can run xcode project in simulator fine , when plugged phone #2, on #1, execute fewer lines #2 , stops.
i have went though paths in article , deleted of these 1 @ time:
- ~/library/developer/xcode/deriveddata/
- ~/library/developer/xcode/ios devicesupport/
- ~/library/developer/xcode/archives/
- ~/library/developer/coresimulator/devices
- ~/library/application support/iphone simulator/
i have tried restarted xcode in every of steps above, , restarting iphone plugging when loads. nothing worked
like said code phone #1 runs little bit, stops executing further lines. stepped through code see why , phone #1. there no error, execution stops, @ same place, little earlier. phone #2 runs code fine , returns results.
what's going on!? why work in 1 iphone not in other, though both running same phone , same version!? there cache path should try delete!?
update #1: per @daneejela questions: line stops different each time. when setup provision profile happened while ago. phone#1 if not phone, first 1 test provision setup or not. couple of weeks ago stopped working on phone#1.
update #2: somehow profile in apple developer got messed , showing invalid. had regenerate , worked right away.
i've seen strange behavior apple developer importing/exporting. 1 thing worth trying is, if feasible, regenerate provision profile @ apple developer if still @ developer phase. if makes work, try not touch settings again or perform operations against them.
Comments
Post a Comment