App crashing



  • Hi Guys I can't get F.lux to work - I had to get my phone replaced. The last time I did it which I believe was post Apple revoking the system of installing F.lux

    I tried reinstalling it from the system but its having issues. Also I had the provision files recently updated and the discussion said delete older files.

    Can someone please help?



  • Check dependencies

    The provisioning profile "iOS Team Provisioning Profile: Flux-for-iphone" is expiring soon
    Warning: Multiple build commands for output file /Users/NAME/Library/Developer/Xcode/DerivedData/iflux-hfpontvgsuxvsvascnjpjcwvivyb/Build/Products/Debug-iphoneos/iflux.app/iflux

    ProcessInfoPlistFile /Users/NAME/Library/Developer/Xcode/DerivedData/iflux-hfpontvgsuxvsvascnjpjcwvivyb/Build/Products/Debug-iphoneos/iflux.app/Info.plist Info.plist
    cd /Users/NAME/Downloads/f.lux-xcode-master
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    builtin-infoPlistUtility /Users/NAME/Downloads/f.lux-xcode-master/Info.plist -genpkginfo /Users/NAME/Library/Developer/Xcode/DerivedData/iflux-hfpontvgsuxvsvascnjpjcwvivyb/Build/Products/Debug-iphoneos/iflux.app/PkgInfo -expandbuildsettings -format binary -platform iphoneos -requiredArchitecture arm64 -o /Users/NAME/Library/Developer/Xcode/DerivedData/iflux-hfpontvgsuxvsvascnjpjcwvivyb/Build/Products/Debug-iphoneos/iflux.app/Info.plist

    warning: User supplied UIDeviceFamily key in the Info.plist will be overwritten. Please use the build setting TARGETED_DEVICE_FAMILY and remove UIDeviceFamily from your Info.plist.

    Validate /Users/NAME/Library/Developer/Xcode/DerivedData/iflux-hfpontvgsuxvsvascnjpjcwvivyb/Build/Products/Debug-iphoneos/iflux.app
    cd /Users/NAME/Downloads/f.lux-xcode-master
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    export PRODUCT_TYPE=com.apple.product-type.application
    builtin-validationUtility /Users/NAME/Library/Developer/Xcode/DerivedData/iflux-hfpontvgsuxvsvascnjpjcwvivyb/Build/Products/Debug-iphoneos/iflux.app

    warning: All interface orientations must be supported unless the app requires full screen.

    I also have another issue "Warning: Multiple build commands for output file /Users/NAME/Library/Developer/Xcode/DerivedData/iflux-hfpontvgsuxvsvascnjpjcwvivyb/Build/Products/Release-iphoneos/iflux.app/iflux"

    How in the world do I clean this stuff and install this app?


  • f.lux team

    What version of xcode and which version of iOS? Are you using the original file that came from our site?

    I am sorry this is so complicated, I agree it would be much simpler if Apple would allow us into the app store - if you have a minute please let them know you'd like the real f.lux and not a copy: www.apple.com/feedback/iphone.html



  • @lorna I am using the latest version of Xcode with the latest version of iOS.
    I was - I think the file is somewhere in my computer because Xcode is still picking it up... I assumed it no longer is available online to redownload since apple stopped assigning the signatures or something. Previously when I had my phone replaced - restoring it from the backup put f.lux back in without any hassle. This time it didn't. Between those times the signature expired so I had it renewed but the page said remove the other signatures - perhaps that's causing an issue? I really want this app back. Please help!!


  • f.lux team

    This may be helpful, via stackoverflow:

    In the Project Navigator, select your Xcode Project file. This will show you the project settings as well as the targets in the project. Look in the "Copy Bundle Resources" Build Phase. You should find the offending files in that list twice. Delete the duplicate reference.

    Xcode is complaining that you are trying to bundle the same file with your application two times.
    http://stackoverflow.com/questions/2718246/xcode-warning-multiple-build-commands-for-output-file



  • @lorna I appreciate the help but I have never used Xcode before this... how do I go about following the steps?

    Thanks!



  • I am having a little difficulty uploading images to this forum so I'll enter the text in a Debug thing it told me "2016-05-27 18:05:18.755 iflux[328:15974] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not load NIB in bundle: 'NSBundle </var/containers/Bundle/Application/9A6D68A6-987E-40DA-88D9-B4758EAB1670/iflux.app> (loaded)' with name 'LaunchScreen''

    *** First throw call stack:

    (0x18284adb0 0x181eaff80 0x18284acf8 0x187e7f3a4 0x187e81b24 0x187c53608 0x187a1e638 0x187c5249c 0x187c4f764 0x1841eb7ac 0x1841eb618 0x1841eb9c8 0x18280109c 0x182800b30 0x1827fe830 0x182728c50 0x187a1794c 0x187a12088 0x100039450 0x1822c68b8)

    libc++abi.dylib: terminating with uncaught exception of type NSException
    "



  • @titanlumni2012 What if I delete Xcode & Reinstall it? or remove F.lux from Xcode & try to do it again? Thought I'm not sure if latter is a good idea & whether former would really work since the related data will remain in computer...

    Thanks.



  • @titanlumni2012 I tried cleaning the file and then running again but I get these issues: -

    libsystem_kernel.dylib`__pthread_kill:
    0x1830a8114 <+0>: movz x16, #0x148
    0x1830a8118 <+4>: svc #0x80
    -> 0x1830a811c <+8>: b.lo 0x1830a8134 ; <+32>
    0x1830a8120 <+12>: stp x29, x30, [sp, #-16]!
    0x1830a8124 <+16>: mov x29, sp
    0x1830a8128 <+20>: bl 0x18308e6d8 ; cerror_nocancel
    0x1830a812c <+24>: mov sp, x29
    0x1830a8130 <+28>: ldp x29, x30, [sp], #16
    0x1830a8134 <+32>: ret

    The provisioning profile "iOS Team Provisioning Profile: Flux-for-iphone" is expiring soon
    Warning: Multiple build commands for output file /Users/NAME/Library/Developer/Xcode/DerivedData/iflux-hfpontvgsuxvsvascnjpjcwvivyb/Build/Products/Debug-iphoneos/iflux.app/iflux

    2.ProcessInfoPlistFile /Users/NAME/Library/Developer/Xcode/DerivedData/iflux-hfpontvgsuxvsvascnjpjcwvivyb/Build/Products/Debug-iphoneos/iflux.app/Info.plist Info.plist
    cd /Users/NAME/Downloads/f.lux-xcode-master
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    builtin-infoPlistUtility /Users/NAME/Downloads/f.lux-xcode-master/Info.plist -genpkginfo /Users/NAME/Library/Developer/Xcode/DerivedData/iflux-hfpontvgsuxvsvascnjpjcwvivyb/Build/Products/Debug-iphoneos/iflux.app/PkgInfo -expandbuildsettings -format binary -platform iphoneos -requiredArchitecture arm64 -o /Users/NAME/Library/Developer/Xcode/DerivedData/iflux-hfpontvgsuxvsvascnjpjcwvivyb/Build/Products/Debug-iphoneos/iflux.app/Info.plist

    warning: User supplied UIDeviceFamily key in the Info.plist will be overwritten. Please use the build setting TARGETED_DEVICE_FAMILY and remove UIDeviceFamily from your Info.plist.

    3.Validate /Users/NAME/Library/Developer/Xcode/DerivedData/iflux-hfpontvgsuxvsvascnjpjcwvivyb/Build/Products/Debug-iphoneos/iflux.app
    cd /Users/miraal/Downloads/f.lux-xcode-master
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    export PRODUCT_TYPE=com.apple.product-type.application
    builtin-validationUtility /Users/NAME/Library/Developer



  • @titanlumni2012 I managed to clear the multiple builds issue. Got a new issue...

    //
    // main.m
    // flux.beta
    //
    // Created by Michael Herf on 10/13/15.
    // Copyright © 2015 f.lux Software LLC. All rights reserved.
    //

    #import <UIKit/UIKit.h>
    #import "AppDelegate.h"

    int main(int argc, char * argv[]) {
    @autoreleasepool {
    return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
    }
    }

    The return bit is in red...



  • Can anyone please help me?



  • @titanlumni2012 Wow, this is actually very interesting to watch progress, you clearing errors and getting new errors! I'm not familiar with Xcode so I can't help but good luck getting it. It looks like it's not installing correctly. Something looks to be missing. That's all I can think of, so maybe that will get you somewhere with this.



  • Hi,

    I'm having very similar issues now. I've had the sideload working fine and then it stopped when my provisioning profile expired a couple of days ago. I've deleted the expired profile and gone through the process or side loading again but the app won't load any more. The logo screen shows but then it closes every time.

    I have the same multiple build error, which I haven't solved yet even with the instructions above. I don't know Xcode well so trying to struggle through.

    If I get any inspiration I'll post again.



  • @Tungsten_smooth thanks, hopefully someone with more knowledge than us can help...



  • @jdflux I'm sorry man I know just how horrible it feels. I feel like those older files kinda kept the thing into the system so the phones could put stuff back. I know theoretically because I back up my mac if I use my Time Machine back up I could reload those files back in the area as if they never were removed. Might try that out sometime in the future and see if it fixes it. Again I don't know much about Xcode and less about F.lux but it made my life better and I hate not having it.



  • if this isn't relevant and I should start my own thread please say so. When I build and run F.lux on my iPad through Xcode I ge this error info in the (i think) debug navigator

    can anyone shed any light on what this error is and how I can sort it?

    libsystem_kernel.dylib`__pthread_kill:
    0x23e36c54 <+0>: mov r12, #328
    0x23e36c58 <+4>: svc #0x80
    (this line is red) -> 0x23e36c5c <+8>: blo 0x23e36c74 ; <+32> Thread1:signal SIGABRT
    0x23e36c60 <+12>: ldr r12, [pc, #0x4] ; <+24>
    0x23e36c64 <+16>: ldr r12, [pc, r12]
    0x23e36c68 <+20>: b 0x23e36c70 ; <+28>
    0x23e36c6c <+24>: .long 0x144f93b8 ; unknown opcode
    0x23e36c70 <+28>: bx r12
    0x23e36c74 <+32>: bx lr

    I get this message in the report navigator

    *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not load NIB in bundle: 'NSBundle </var/containers/Bundle/Application/068B4284-4D80-4100-B2CF-84A9112F8D44/iflux.app> (loaded)' with name 'LaunchScreen''
    *** First throw call stack:
    (0x241ab91b 0x23946e17 0x241ab861 0x28bd8761 0x28bda9d1 0x289c6231 0x28799445 0x289c514b 0x289d983d 0x289c27b3 0x2584ec07 0x2584eab9 0x2584edb9 0x2416ddff 0x2416d9ed 0x2416bd5b 0x240bb229 0x240bb015 0x28792c3d 0x2878d189 0x487ef 0x23d63873)
    libc++abi.dylib: terminating with uncaught exception of type NSException



  • @titanlumni2012 said:

    @titanlumni2012 I managed to clear the multiple builds issue. Got a new issue...

    //
    // main.m
    // flux.beta
    //
    // Created by Michael Herf on 10/13/15.
    // Copyright © 2015 f.lux Software LLC. All rights reserved.
    //

    #import <UIKit/UIKit.h>
    #import "AppDelegate.h"

    int main(int argc, char * argv[]) {
    @autoreleasepool {
    return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
    }
    }

    The return bit is in red...

    I get this error when I have turned off 'Debug' in 'build settings' > 'architectures' > 'build active architectures only'

    When I turn on 'debug' i get the error in my post above



  • so after finding the original f.lux side load files randomly online, It's working fine. I guess i must have messed things up in Xcode with my version. Find the original download and hope that works!



  • If your Apps Crashing in iphone after update iOS 11 So there are many reason for them, To solve all these reasons, you need to read these articles.



  • @ginaadrson said in App crashing:

    If your Apps Crashing in iphone after update iOS 11 So there are many reason for them, To solve all these reasons, you need to read these articles.

    thanks, gina :bride_with_veil_tone1: I have solved this problem in my phone.


Log in to reply
 

Looks like your connection to f.lux forum was lost, please wait while we try to reconnect.