I'm trying to install the Route-Me library in Xcode so as to convert coordinates in my iphone application.
I have follow this page : https://github.com/route-me/route-me/wiki/Embedding-Guide
However, I don't have a "MapView.app" (in paragraph "Configuring build dependencies").
I don't know how to install this library. Xcode can't compile.
Is there someone who can help me ?
Thanks
Best regards
Etienne
if you did fallow all the steps including "Configuring build dependencies" you should have in your application tree a blue file icon named MapView.xcodeproj.
Don't forget to check the box for libMapView.a (Select the MapView.xcodeproj and then on the right you should have two files libMapView.a and another one. Check the box on the far right on the same line with libMapView.a)
In the tree of your project expand the "Targets" node and double click on the child with your app name - usually is the first child of the Targets node.(it will have a ruler and a pen as a icon).
after that you should fallow the guide that you fallowed. Don't forget to link all the extra libraries...
Related
Is there a way to re-access the SDK Wizard after the initial time you configure a project? Basically, at that point it lets you select which drivers you want and includes them in a drivers folder. However, as time went on I found that I need to add more drivers than I originally planned for. How do I select additional drivers to incorporate from the SDK after initial project creation?
I found it the information at the following link, in "add/remove components":
https://mcuoneclipse.com/2017/11/25/eclipse-mcuxpresso-ide-10-1-with-integrated-mcuxpresso-configuration-tools/
If the link breaks -
In the Project window view, there is a small icon that looks like a yellow square with perpendicular lines through it.
Click on the project so it is highlighted, then you will be able to click the square icon which says "Manage SDK Components" if you hover over it.
Once you click that, you can select/deselect components you wish to add/remove, respectively.
I am trying to implement ios phonegap In app purchasement plugin.
I need to add storekit.Framework to xcode project but cant find one.
I googled storekit.Framework but all information I found was how to use it and what storekit about
but not where is it. can anyone tell me where should I visit to download storekitFramework?
It is a standard framework available in iOS. To use it, simply
Select your project
Select your target
Select Build Phases
In Link Binaries with Libraries, click +
Search for StoreKit and Add
Import the framework in your class.
StoreKit.Framework is already included in all iOS SDK's above 3.0, so there's no need to download it.
To add it to your project, just click your Project's Name on the left-hand panel of Xcode (near the top), and then your project's name again, under the "Targets" section of the now second-to-left hand panel. Now click "Build Phases" near the top of the window, and then expand "Link Binary With Libraries".
Now just hit the "+" at the bottom-left corner, find StoreKit.Framework, and click add. That should do it!
I created a Cordova based application in XCode, and when I tried to the www folder of my project I did not find it.
Can anyone advise me where to find the www folder that should be included in the project?
Check the tutorial provided by the online doc very carefully:
http://docs.phonegap.com/en/1.5.0/guide_getting-started_ios_index.md.html#Getting%20Started%20with%20iOS
Normally, when creating your project, you should have turned off the ARC:
In case you forgot to turn the ARC off, you may try the following:
Select your project file.
Select the Build settings tab, and select the filter options All and levels (default is Combined).
In the search field to the right of the filter option Combined, enter automatic.
There will be a group called Apple LLVM Compiler 3.0 – Language containing the line Objective-C Automatic Reference Counting.
Click that line, then in the middle column (where it says yes), click and choose no.
The above should turn your ARC off.
Then, try following the next steps of the project creation:
You should see your project in Xcode 4 now. Press the Run button in
the top left corner. Your build should succeed and launch in the
simulator
You should see a error in your simulator informing you
index.html was not found
To fix this, we need to copy the www
directory into the project. Right click on the project in the left
navigation window and click show in finder
In Finder, you should see
the www directory beside your project
Next step is IMPORTANT! Drag the www folder into Xcode 4. You can't
just drag the www folder into your app's folder. It needs to be
dragged into Xcode 4!! In my case I would drag it and drop it on
HiWorld shown below.
After you drag, you should see a prompt with a few options. Make sure
to select Create folder references for any added folders. Click Finish
Continue from step 4.HelloWorld of the online doc...
Hope this helps.
I want to use a graph in my iPhone app. I have downloaded the source code Core- Plot for it, but now when I am trying to run it I am getting an error.
clang: error: -Z-reserved-lib-stdc++: 'linker' input unused when '-c' is present
Can anyone suggest me what this error mean or how to resolve it.
`iPhone, iPod Touch, and/or iPad Application
Dependent Project Install
Because frameworks cannot be used in Cocoa Touch applications in the same way as on the Mac, the means of including Core Plot within an iPhone application are slightly different.
First, drag the CorePlot-CocoaTouch.xcodeproj file into your iPhone application's Xcode project. Show the project navigator in the left-hand list and click on your project.
Select your application target from under the "Targets" source list that appears. Click on the "Build Phases" tab and expand the "Target Dependencies" group. Click on the plus button, select the CorePlot-CocoaTouch library, and click Add. This should ensure that the Core Plot library will be built with your application.
Core Plot is built as a static library for iPhone, so you'll need to drag the libCorePlot-CocoaTouch.a static library from under the CorePlot-CocoaTouch.xcodeproj group to the "Link Binaries With Libraries" group within the application target's "Build Phases" group you were just in.
You'll also need to point to the right header location. Under your Build settings, set the Header Search Paths to the relative path from your application to the framework/ subdirectory within the Core Plot source tree. Make sure to make this header search path recursive. You need to add -ObjC to Other Linker Flags as well (as of Xcode 4.2, -all_load does not seem to be needed, but it may be required for older Xcode versions).
Core Plot is based on Core Animation, so if you haven't already, add the QuartzCore framework to your application project.
Finally, you should be able to import all of the Core Plot classes and data types by inserting the following line in the appropriate source files within your project:
import "CorePlot-CocoaTouch.h"`
Source: core plot wiki on google
I got a solution for it here is the link.
CorePlot failed to build in XCode 4.4
Basically the issue was related to Xcode.
I'm trying to add this: https://github.com/bengottlieb/Twitter-OAuth-iPhone
The readme doesn't give a step by step so I just tried dragging the whole folder into my project and then when I try to compile I get a file not found error on #include
What do I do?
I found the solution, it's on the bottom of this page: http://www.cocos2d-iphone.org/forum/topic/6136
In order to get your project to compile you’ll need to first include the libxml2 Framework (right click on your project and choose Add Exisiting Frameworks).
Now right click on your project and choose ‘Get Info’. In the build tab, scroll down till you see the ‘Search Paths’ section. In the ‘Header Search Paths’ field, add ‘$(SDKROOT)/usr/include/libxml2′
Finally, expand the Twitter+OAuth group in your project and then expand theMGTwitterEngine group. Open MGTwitterEngine.m and alter #define USE_LBXML 0 to #define USE_LIBXML 1.
you will have to add the following frameworks
libxml
And edit the header search path in the project settings to include
"$(SDK_DIR)"/usr/include/libxml2
For further info please read the following
LibXML2.dylib and Xcode4