Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Black screen xcode 7.1 #3

Open
ahsanawan opened this issue Jan 19, 2016 · 6 comments
Open

Black screen xcode 7.1 #3

ahsanawan opened this issue Jan 19, 2016 · 6 comments
Labels

Comments

@ahsanawan
Copy link

Hi, i am facing an issue in xcode 7.1. Every time run app view gets black and - (void)eegeoMapReady:(id)api delegate never call.

Step1:
Include eegeo api using pods and add resources folder from example app.

Step2:
Added two keys in .plist eeGeoAppBase and eeGeoMapsApiKey(generated from dev portal)

Step3:
added logic to controller as per guide

  • (void)viewDidLoad {
    [super viewDidLoad];

    self.eegeoMV = [[[EGMapView alloc] initWithFrame:self.view.bounds] autorelease];
    self.eegeoMVeegeoMapDelegate = self;
    self.eegeoMV.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;

    [self.view insertSubview:self.eegeoMV atIndex:0];
    }

am i missing something ?

screen shot 2016-01-19 at 8 53 29 pm

screen shot 2016-01-19 at 8 53 45 pm

@scottmurray
Copy link
Contributor

Thanks for raising this issue, we'll try and reproduce it here. Do you get any logs printed to the console, or any asserts or errors?

@ahsanawan
Copy link
Author

Actually no exception or error occur. These are the logs

Jan 19 21:11:31 mstreamd[3572] : (Note ) mstreamd: Not monitoring for external power.
Jan 19 21:11:31 mstreamd[3572] : (Note ) PS: Media stream daemon stopping.
Jan 19 21:11:31 mstreamd[3572] : (Note ) AS: <MSIOSAlbumSharingDaemon: 0x16e5e440>: Shared Streams daemon has shut down.
Jan 19 21:11:31 mstreamd[3572] : (Warn ) mstreamd: mstreamd shutting down.
Jan 19 21:11:31 mstreamd[3573] : (Note ) mstreamd: mstreamd starting up.
Jan 19 21:11:32 mstreamd[3573] : (Note ) PS: Media stream daemon starting...
Jan 19 21:12:12 mstreamd[3573] : (Note ) mstreamd: Not monitoring for external power.
Jan 19 21:12:12 mstreamd[3573] : (Note ) PS: Media stream daemon stopping.
Jan 19 21:12:12 mstreamd[3573] : (Note ) AS: <MSIOSAlbumSharingDaemon: 0x14e5e190>: Shared Streams daemon has shut down.
Jan 19 21:12:12 mstreamd[3573] : (Warn ) mstreamd: mstreamd shutting down.
Jan 19 21:12:12 mstreamd[3574] : (Note ) mstreamd: mstreamd starting up.
Jan 19 21:12:12 mstreamd[3574] : (Note ) PS: Media stream daemon starting...
Jan 19 21:12:20 prdaily[3575] : BTA job already exists
Jan 19 21:12:52 mstreamd[3574] : (Note ) mstreamd: Not monitoring for external power.
Jan 19 21:12:52 mstreamd[3574] : (Note ) PS: Media stream daemon stopping.
Jan 19 21:12:52 mstreamd[3574] : (Note ) AS: <MSIOSAlbumSharingDaemon: 0x14e77390>: Shared Streams daemon has shut down.
Jan 19 21:12:52 mstreamd[3574] : (Warn ) mstreamd: mstreamd shutting down.
Jan 19 21:12:52 mstreamd[3576] : (Note ) mstreamd: mstreamd starting up.
Jan 19 21:12:53 mstreamd[3576] : (Note ) PS: Media stream daemon starting...
Jan 19 21:12:54 syncdefaultsd[3522] : (Note ) marked "com.me.keyvalueservice" topic as "opportunistic" on <APSConnection: 0x16e3e7e0>

screen shot 2016-01-19 at 9 15 40 pm

@ahsanawan
Copy link
Author

I was facing this black screen issue because i didn't add a key in .plist "NSLocationWhenInUseUsageDescription". But now i am facing issue #1 Error when running app on Xcode 7.1. I follow the Step 1 include libraries using pod (eegeo 1.0.353) copy resources folder from ios-example project.

screen shot 2016-01-20 at 12 54 15 am

@umairnow
Copy link

I was about to report the same issue but I was confirming things on my side first. But now I think this is really an issue. I am trying to create a swift project and I have copied all the code from example application and converted it to swift. But eegeoMapReady delegate method is not being called. I think if this would be called it will resolve the problem

@scottmurray
Copy link
Contributor

Please attempt to run using a Workspace generated from CocoaPods with the provided eeGeoApiExample.xcodeproj, and determine if the problems you are seeing occur when using this project. This project is provided to demonstrate the required project structure for embedded resources and plist values.

The referenced plist (https://github.com/eegeo/ios-api-example/blob/master/ExampleApp/eeGeoApiExample-Info.plist) contains the "NSLocationWhenInUseUsageDescription" key. It also contains the required resources, in the correct structure.

If you are able to successfully run with the eeGeoApiExample.xcodeproj but still wish to create your own project, the eeGeoApiExample project can be used as a configuration reference to troubleshoot any problems you might encounter. Please open an issue if you find the eeGeoApiExample project does not work as expected.

@umairnow
Copy link

Thanks, I have done that. I am facing issue in drawing route in iOS mobile application. There is no documentation provided about classes and how to use those classes. Can you just let me know from where I can get started to draw route?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants