Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7058081
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T04:04:13+00:00 2026-05-28T04:04:13+00:00

In my project, i have imported some third party frameworks like google-maps. EveryThing work

  • 0

In my project, i have imported some third party frameworks like google-maps. EveryThing work fine when compiling, but when it runs, the app crashes and i could track the suspicious method:

//Invoked when the class is instantiated in XIB
-(id)initWithCoder:(NSCoder*)aDecoder
{
    self = [super initWithCoder:aDecoder];
    if(self)
    {
        [self customInitialization];
    }
    return self;
}

Here is the stack of the crash i got:

TestMapDirections[1343:11603] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSURL initFileURLWithPath:]: nil string parameter'
*** First throw call stack:
(0x13ea052 0x2035d0a 0x1392a78 0x13929e9 0xae854b 0xae84d5 0x23e3f 0x23d17 0x223b0 0x2230b 0x29e5 0x2ae6 0x3d3335 0x4d1fa2 0x4d16b7 0x3d2ead 0x4d1fa2 0x4d19af 0x4d16b7 0x3d2305 0x5d884f 0x5d8dd7 0x13ebec9 0x1b75c2 0x1b755a 0x25cb76 0x25d03f 0x25c2fe 0x1dca30 0x1dcc56 0x1c3384 0x1b6aa9 0x1601fa9 0x13be1c5 0x1323022 0x132190a 0x1320db4 0x1320ccb 0x1600879 0x160093e 0x1b4a9b 0x2478 0x23d5)
terminate called throwing an exceptionsharedlibrary apply-load-rules all
Current language:  auto; currently objective-c

You can download my application and try it on your stuff, maybe you can help me more figure out the problem, thanx in advance.

EDIT:
@JSON coco: here is the code of the customInitialization method:

-(void)customInitialization
{
    // do the initialization of class variables here..

    mDirections          = [UICGDirections sharedDirections];
    mDirections.delegate = self;
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T04:04:13+00:00Added an answer on May 28, 2026 at 4:04 am

    So, I looked over your code. It’s actually the Google Map API that’s crashing. It expects to find some file called api.html. I’m not familiar with this framework the you’re using, so I can’t tell you what that html file is used for or where to get it. However, you need to find it and add it to your project file and make sure it gets into your Copy Resources build phase. To do that, just look in the File Utility Inspector on the right side of your editor (if it’s not opened, you can open it by pressing CMD+ALT+1). After you add the api.html file to your project, select it, and check to make sure it’s checked for your target in the file inspector.

    This will cause the crash to stop. If that file isn’t actually needed, you can alter the line 39 of the file UICGoogleMapsAPI.m. That’s the line that’s crashing since it can’t file the api.html file.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Google App Engine project imported in Eclipse. For some reason when
I have downloaded CorePlot_0.9 from google and imported in my iPhone project. I want
I have imported some PNG pictures into my project, and into InterfaceBuilder, I add
I have an imported MSBuild project (appconfig.transformation.targets) that defines some tasks and puts them
I have imported an existing Maven project into Eclipse IDE. I modified some of
I have a Maven Java project, imported using m2eclipse . The target/ directory is
I have the following table structure, which is imported into an Entity Framework project:
I've just imported a Flex component into my project. I have a theory question
I have a C++ project that have like 15+ external libraries installed with a
I am using Eclipse Version: 3.3.2 I have imported a project which is on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.