SensehacK / health-sense

All in one Health App - Computer Science Capstone Project
https://sensehack.github.io/health-sense/
GNU General Public License v2.0
8 stars 3 forks source link

Bug iPhone app crash on launch #44

Closed ManasiTayade closed 4 years ago

ManasiTayade commented 4 years ago

Bug Report

Current Behavior App is stuck on splash screen.

Expected behavior/code It should run properly as it runs in simulator.

Environment

Possible Solution

Note: for support questions, please use stackoverflow. This repository's issues are reserved for feature requests and bug reports.

Additional context/Screenshots

Screen Shot 2020-05-02 at 6 47 54 PM

Debug Logs

dyld: Library not loaded: @rpath/Macaw.framework/Macaw
  Referenced from: /private/var/containers/Bundle/Application/D33FD1F6-05C2-46A9-B53B-A2FAED6A32D5/HealthSense.app/HealthSense
  Reason: no suitable image found.  Did find:
    /private/var/containers/Bundle/Application/D33FD1F6-05C2-46A9-B53B-A2FAED6A32D5/HealthSense.app/Frameworks/Macaw.framework/Macaw: code signature invalid for '/private/var/containers/Bundle/Application/D33FD1F6-05C2-46A9-B53B-A2FAED6A32D5/HealthSense.app/Frameworks/Macaw.framework/Macaw'

    /private/var/containers/Bundle/Application/D33FD1F6-05C2-46A9-B53B-A2FAED6A32D5/HealthSense.app/Frameworks/Macaw.framework/Macaw: stat() failed with errno=25
    /private/var/containers/Bundle/Application/D33FD1F6-05C2-46A9-B53B-A2FAED6A32D5/HealthSense.app/Frameworks/Macaw.framework/Macaw: code signature invalid for '/private/var/containers/Bundle/Application/D33FD1F6-05C2-46A9-B53B-A2FAED6A32D5/HealthSense.app/Frameworks/Macaw.framework/Macaw'

    /private/var/containers/Bundle/Application/D33FD1F6-05C2-46A9-B53B-A2FAED6A32D5/HealthSense.app/Frameworks/Macaw.framework/Macaw: stat() failed with errno=1
    /private/var/containers/Bundle/Application/D33FD1F6-05C2-46A9-B53B-A2FAED6A32D5/HealthSense.app/Frameworks/Macaw.framework/Macaw: code signature invalid for '/private/var/containers/Bundle/Application/D33FD1F6-05C2-46A9-B53B-A2FAED6A32D5/HealthSense.app/Frameworks/Macaw.framework/Macaw'

    /private/var/containers/Bundle/Application/D33FD1F6-05C2-46A9-B53B-A2FAED6A32D5/HealthSense.app/Frameworks/Macaw.framework/Macaw: stat() failed with errno=1
SensehacK commented 4 years ago

Could you please update your iPhone OS to iOS 13.4+ And you already have the latest Xcode running right now.

Apple had introduced a small bug in iOS 13.3.1 which prevents embedded frameworks in free developer account.

Stack Overflow

SensehacK commented 4 years ago

@ManasiTayade Please try to run the app on latest iOS and let us know the results.

Also I have applied a small bug fix for this workaround as suggested by other threads.

If you're still on iOS 13.3.1 you can run the updated app code in Xcode. Also please go through "README" file in iOS folder as I have included more precise steps of how to run any updated code or work around with installing app on your real device.

Same Bug Issue Stack overflow Post

ManasiTayade commented 4 years ago

@ManasiTayade Please try to run the app on latest iOS and let us know the results.

Also I have applied a small bug fix for this workaround as suggested by other threads.

If you're still on iOS 13.3.1 you can run the updated app code in Xcode. Also please go through "README" file in iOS folder as I have included more precise steps of how to run any updated code or work around with installing app on your real device.

Same Bug Issue Stack overflow Post

@SensehacK Thanks!! After updating the version it worked.