-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
modify bridgesupport in order to fix `cameraWithLatitude:longitude:zo…
…om:' type `@@:ddf' error
- Loading branch information
1 parent
3d5a773
commit 6f3785f
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6f3785f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm finding that
rake clean
and followed byrake
results in the changes above being restored back to prior values. Any idea what would cause that?6f3785f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you manage the
GoogleMaps.framework.bridgesupport
file by usinggit
etc?6f3785f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's the problem - if I get it working in folder A,
git commit -am "woo it's working"
, clone it from that repo to another fresh location on the same machine (i.e. should be exactly the same, apart from /build, right?), then runrake build
-> some facet of the build process causes the file to revert back to how it was, and thus it doesn't work - very strange.Here is the result of
rake
run on the new repo clone:Here is the result of
git st
after runningrake
(there were no modified files prior to running build)Here is
git diff
of the GoogleMaps.framework.bridgesupport file, showing the changes after build.This is my .gitignore:
6f3785f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When
GoogleMaps.framework.bridgesupport
was changed,then you could roll back it with
git checkout vendor/GoogleMaps.framework/GoogleMaps.framework.bridgesupport
6f3785f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is true - except that if it's changed back each time I run build, this can't fix the problem.
6f3785f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Once
.bridgesupport
file was generated, its file will not be updated byrake
.@iandundas, could you send me your project or publish on github?
6f3785f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a strange sequence of events - though it's only my own fault I don't fully understand the part played by the bridgesupport file yet.
The steps to get it working go as follows:
Step 1. clone a 'working' repo to a new folder
Step 2.
rake build
returns:also, this step changed
.bridgesupport
file, so do a revert of that fileStep 3.
rake build
again:ok fine - build still didn't work, despite fixing the
.bridgesupport
file so..Step 4. Let's run
rake clean
andrake build
:argh - still receiving this message. Now, without changing anything, run...
Step 5.
rake build
one more time - and now it works.The puzzle is - why after running
rake clean && rake build
does thebridgesupport
file not get changed for a second time?Many thanks for your help so far!! I'm emailing you permissions to the repo, and also a link to a working version (/build, et al).
6f3785f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Has there been any progress on this does anyone know?
6f3785f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the repaired GoogleMaps.framework.bridgesupport file is incomplete. For example, I've just crashed with error:
markerWithPosition: is not mentioned in GoogleMaps.framework.bridgesupport :( surely it should be?
6f3785f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fuck, ignore that noise. You've updated it for the newest version of the SDK, but because I had to copy/paste from this commit to get it to compile, I lost the new changes. derp.