pcolby / bipolar

Free your data from Polar FlowSync
GNU General Public License v3.0
115 stars 16 forks source link

Failed to resolve SDK path for 'macosx10.8' #52

Closed nikolay12 closed 9 years ago

nikolay12 commented 9 years ago

I am on Yosemite. I could not use the dmg as I got

“Bipolar.app” can’t be opened because it is from an unidentified developer.
Your security preferences allow installation of only apps from the Mac App Store and identified developers.

I normally can install stuff and have sudo privileges - this is the first time I could not do it. Maybe self-signing the dmg can sort this out?

I tried then installing from source code and ran ~/Downloads/bipolar-0.4.0/hook/qt/build.sh. I got

Preparing build tree...
Failed to resolve SDK path for 'macosx10.8'

I tried then the solution proposed here but it did not help. Any suggestions?

jgrandscrutton commented 9 years ago

Did you double-click the app to open it? If so, try right-click > Open.

From: nikolay12 Reply-To: pcolby/bipolar Date: Monday, 15 June 2015 13:48 To: pcolby/bipolar Subject: [bipolar] Failed to resolve SDK path for 'macosx10.8' (#52)

I am on Yosemite. I could not use the dmg as I got

“Bipolar.app” can’t be opened because it is from an unidentified developer. Your security preferences allow installation of only apps from the Mac App Store and identified developers.

I normally can install stuff and have sudo privileges - this is the first time I could not do it. Maybe self-signing the dmg can sort this out?

I tried then installing from source code and ran ~/Downloads/bipolar-0.4.0/hook/qt/build.sh. I got

Preparing build tree... Failed to resolve SDK path for 'macosx10.8'

I tried then the solution proposed herehttp://stackoverflow.com/questions/26320677/error-could-not-resolve-sdk-path-for-macosx10-8 but it did not help. Any suggestions?

— Reply to this email directly or view it on GitHubhttps://github.com/pcolby/bipolar/issues/52.

nikolay12 commented 9 years ago

@jgrandscrutton Thanks for your quick response Jeremy - I was able to open up the dmg. Now I don't know how to proceed. I installed the hooks by running the install command as described in the readme and then I opened the dmg. I am asked to add a directory:

Screenshot of Bipolar

Isn't this supposed to be done by the install hooks? I don't mind doing it myself but which directory shall I add? I had a look at the PolarFlow app and I don't see a directory which has changed recently and I've sync-ed yesterday. Is there a local copy of the training files and if so do you where it is?

jgrandscrutton commented 9 years ago

Did you sync activities, or just sync the device settings? I’m not certain, but I seem to recall that the folder was only present having synced activities. Can you browse to /Users/nnikolo/Library/Application Support/Polar/PolarFlowSync/export in Finder?

nikolay12 commented 9 years ago

@jgrandscrutton I checked that directory but it doesn't exist. I don't think I have ever been offered a chance to choose what to sync - FlowSync does everything and than automatically opens the Polar Flow Website. So I see all the trainings on the website. I've never seen them as local files. I went to the FlowSync menu but I still don't see any preferences that specify local storage. How do you store your training data locally?

jgrandscrutton commented 9 years ago

First time I used bipolar I hadn't tracked any activities - I'd synced the device, but not any activities so there was no local folder. Once I'd tracked an activity and synced it the folder was created. I didn't do anything else for that to happen. How recently did you download the FlowSync app? Maybe there have been changes in the way it works since I downloaded it (February)?

Sent using OWA for iPhone


From: nikolay12 notifications@github.com Sent: 15 June 2015 16:52:29 To: pcolby/bipolar Cc: Jeremy Grand-Scrutton Subject: Re: [bipolar] Failed to resolve SDK path for 'macosx10.8' (#52)

@jgrandscruttonhttps://github.com/jgrandscrutton I checked that directory but it doesn't exist. I don't think I have ever been offered a chance to choose what to sync - FlowSync does everything and than automatically opens the Polar Flow Website. So I see all the trainings on the website. I've never seen them as local files. I went to the FlowSync menu but I still don't see any preferences that specify local storage. How do you store your training data locally?

Reply to this email directly or view it on GitHubhttps://github.com/pcolby/bipolar/issues/52#issuecomment-112117478.

nikolay12 commented 9 years ago

@jgrandscrutton I think I use the latest version of Polar FlowSync. Here is a screenshot of the settings:

Screenshot of FlowSync's settings.

And here is a screenshot of the version ID (It's "2.3.8" but, confusingly, "1.2.1" is also shown in the upper right corner):

Screenshot of FlowSync's "About" section

pcolby commented 9 years ago

Hi @nikolay12, sorry to hear you're having trouble getting Bipolar to work.

Since you've already got Bipolar installed, let's just check that the hook did install correctly, by running the following commands:

ls -l /Applications/FlowSync.app/Contents/Frameworks/QtNetwork.framework/Versions/5/QtNetwork*
shasum -a 256 /Applications/FlowSync.app/Contents/Frameworks/QtNetwork.framework/Versions/5/QtNetwork

(If you installed FlowSync somewhere else, then adjust the paths accordingly).

Assuming the hook is installed (paste the output of the commands above and we can verify that), then the next steps to using Bipolar are:

  1. Quit FlowSync, if its currently running (look for the red FlowSync icon in the left "status menus" area of the menu bar).
  2. Go and record some activity; anything will do - even just a 30 second jogging on the spot :smile:
  3. Plug the watch into the USB port.
  4. Run FlowSync, if it doesn't start automatically.
  5. Once FlowSync has sync'd the session, run Bipolar.

Note, if you have enabled Bluetooth syncing to your phone, then you'll need to disable Bluetooth on your phone (or un-pair the devices) for the above steps to work. Bipolar does not work well with Bluetooth syncing, since it only sees what FlowSync sees, and when Bluetooth enabled, FlowSync won't see anything :disappointed: In that case, you'll want to check out the V800 downloader :smile:

I hope that helps! :smile:

Cheers.

PS Thanks @jgrandscrutton for helping out! :+1:

pcolby commented 9 years ago

PPS I'm guessing the "1.2.1" is referring the loop's firmware version, which seems right given that 1.2.1 is currently the latest version available.

jgrandscrutton commented 9 years ago

I have version 2.3.8 of FlowSync too, and I was also starting to wonder whether you used FlowSync to sync your activities, or just did it with your phone? After completing an activity, when syncing through FlowSync, does it state "syncing activities"?

nikolay12 commented 9 years ago

Thanks @pcolby and @jgrandscrutton for your kind assistance and for working on Bipolar. Here is the output of the directory listing that Paul asked about:

$ ls -l /Applications/FlowSync.app/Contents/Frameworks/QtNetwork.framework/Versions/5/QtNetwork*
-rwxr-xr-x@ 1 admin  staff  1352512 10 Jan 01:17 /Applications/FlowSync.app/Contents/Frameworks/QtNetwork.framework/Versions/5/QtNetwork
-rwxr-xr-x  1 root   admin  1158884 19 Sep  2014 /Applications/FlowSync.app/Contents/Frameworks/QtNetwork.framework/Versions/5/QtNetwork.20141030151746
-rwxr-xr-x  1 root   admin  1158884 19 Sep  2014 /Applications/FlowSync.app/Contents/Frameworks/QtNetwork.framework/Versions/5/QtNetwork.20141030160723
-rwxr-xr-x  1 root   admin  1158884 11 Nov  2014 /Applications/FlowSync.app/Contents/Frameworks/QtNetwork.framework/Versions/MacBMacBMaMacMaMMMMMMMMaMacBoMacBookMacBoMacBMacMaMMMMMMMMMMMMMMM

Jeremy - I have never used Polar Loop with a phone. I've always synced through my mac. FlowSync always works automatically - I haven't entered any preferences. It says "syncing activities", "syncing trainings", "syncing settings", etc. as it performs the syncing. This is the end screen once syncing has finished:

Loop Screen

pcolby commented 9 years ago

That looks right. Now try:

ls -l ~/Library/Application\ Support/Polar/PolarFlowSync/export

And let us know how what that does.

Also, if you run Bipolar now, what does it show? Can you include a screenshot of Bipolar now that we know the hook is installed correctly?

Thanks.

nikolay12 commented 9 years ago

Paul - it works! It seems I haven't properly escaped the space in the path to the export directory - this is why I could not find it. Thanks a lot to you and Jeremy for your kind and quick help!

pcolby commented 9 years ago

@nikolay12, so glad you got it working! :smile:

Cheers.