Tuesday, April 29, 2014
I am using Xcode 5 on Mac Book with configuration Memory 5 GB 1067 MHz DDR3 and Processor 2.4 GHz Intel Core 2 Duo. It is getting hanged every time whenever i work on Storyboard. As my storyboard consists of 25 scenes. Please help I m suffering.
Monday, April 28, 2014
I am using Xcode 5 on Mac Book with configuration Memory 5 GB 1067 MHz DDR3 and Processor 2.4 GHz Intel Core 2 Duo. It is getting hanged every time whenever i work on Storyboard. As my storyboard consists of 25 scenes. Please help I m suffering.
Tuesday, March 4, 2014
I'm using X-Code.
I tried following the documentation to add a library but can't seem to get it to work properly.
Is there any procedure to get the memory warning levels using objective C
I want know the different levels of memory warnings programmatically using objective C.Is there any procedure to get that.
Monday, March 3, 2014
I am using Xcode 5 on Mac Book with configuration Memory 5 GB 1067 MHz DDR3 and Processor 2.4 GHz Intel Core 2 Duo. It is getting hanged every time whenever i work on Storyboard. As my storyboard consists of 25 scenes. Please help I m suffering.
Saturday, January 18, 2014
I am using Xcode 5 on Mac Book with configuration Memory 5 GB 1067 MHz DDR3 and Processor 2.4 GHz Intel Core 2 Duo. It is getting hanged every time whenever i work on Storyboard. As my storyboard consists of 25 scenes. Please help I m suffering.
Is there any procedure to get the memory warning levels using objective C
I want know the different levels of memory warnings programmatically using objective C.Is there any procedure to get that.
I'm using X-Code.
I tried following the documentation to add a library but can't seem to get it to work properly.
Sunday, October 13, 2013
Is there a way to get imei number of device using objective c?
I did some searching with Google, and found this thread on Stack Overflow that describes how to do it:
How to get IMEI on iPhone? - Stack Overflow
That thread, in turn, points you to Erica Sadun's site. She's a well-regarded iOS developer and author on iPhone development.
It sounds like it is possible, but only by using a private framework. Thus you can do it, but if you try to submit an app to the store that uses a private framework it will be rejected.
So, for your own private use it's possible.
Is there an officially supported way to get imei?
Is there a way to get imei number of device using objective c?
I did some searching with Google, and found this thread on Stack Overflow that describes how to do it:
How to get IMEI on iPhone? - Stack Overflow
That thread, in turn, points you to Erica Sadun's site. She's a well-regarded iOS developer and author on iPhone development.
It sounds like it is possible, but only by using a private framework. Thus you can do it, but if you try to submit an app to the store that uses a private framework it will be rejected.
So, for your own private use it's possible.
Is there an officially supported way to get imei?
Sunday, August 11, 2013
Friday, August 9, 2013
Problems compiling C in XCODE using VISA / NI
Hi,
I'm developing a program in C to communicate with my Tektronix oscilloscope. I inherited this project from a friend (who is currently incommunicado), so I can't talk to him about it.
Basically, my problem is that my program will not build due to a linker problem. I am using functions from the NI-VISA 5.4 package for OS X 10.8. However, the linker cannot seem to find the correct functions for my system:
Undefined symbols for architecture x86_64:
"_viClose", referenced from:
_setupVI in oscilloscope.o
_getData in oscilloscope.o
_closeInstr in oscilloscope.o
"_viOpen", referenced from:
_setupVI in oscilloscope.o
"_viOpenDefaultRM", referenced from:
_setupVI in oscilloscope.o
"_viRead", referenced from:
_setupVI in oscilloscope.o
_getData in oscilloscope.o
"_viStatusDesc", referenced from:
_setupVI in oscilloscope.o
_getData in oscilloscope.o
"_viWrite", referenced from:
_setupVI in oscilloscope.o
_getData in oscilloscope.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
These are all pretty basic VISA functions. I struggled in just including the correct header file, as
#include
didn't work. When I went to the verbose form, it worked:
#include "/Library/Frameworks/VISA.framework/Versions/A/Headers/visa.h"
However, then the problem started happening that I'm having now -- the object linker can't find the code for the VISA functions. I've tried changing build architctures from x86_64 to just x86, without avail. I'm currently building in i386 x86. I've also tried (under Build Phases -> Link Binary with Libraries) to link the VISA.framework to the project, but this simply gives the linker error "cannot find VISA".
I feel like I am missing something very obvious. I'm still operating under the notion that either NI-VISA did not install to the correct location, or that my build settings are incorrect.
Does anyone have any insight to lend? I've been searching through different forums for help for almost 2 days now, with no avail.
Re: Problems compiling C in XCODE using VISA / NI
Are you using Xcode or doing it from the command line?
You need to tell the compiler the library and where it is. In Xcode you would do this in the Build Phases window of the project under the Link Binary with Libraries area.
Just saw you say you tried this. Ar you sure you are setting the right path.
Where did you get the librsry from? Did you compile it on the Mac or was it compiled?
Re: Problems compiling C in XCODE using VISA / NI
Are you using Xcode or doing it from the command line?
You need to tell the compiler the library and where it is. In Xcode you would do this in the Build Phases window of the project under the Link Binary with Libraries area.
Just saw you say you tried this. Ar you sure you are setting the right path.
Where did you get the librsry from? Did you compile it on the Mac or was it compiled?
Cannot launch another application in Mac OS X 10.8 using NSWorkspace launchApplicationAtURL:options:configuration:error
I am launching another app using NSWorkspace launchApplicationAtURL:options:configuration:error.
The app is owned by root, has permission: rwx r-x r-x, and owned by root:wheel.
The app is also located in /Applications folder (e.g. /Application/MyApp.app).
According to the following link under the "Launching Helpers with Launch Services" section:http://developer.apple.com/library/mac/#documentation/Security/Conceptual/AppSan dboxDesignGuide/AppSandboxInDepth/AppSandboxInDepth.html
I should be able to launch my app because the following condition is met:
The app is installed in /Applications and the app bundle and all contents are owned by root.
When launching the app, I get the following error:
"The application “MyApp” could not be launched because it is corrupt."
"The operation couldn’t be completed. (OSStatus error -10827.)"
Which is, according to the same link, the error when none of the conditions have been met.
Note that I am using Mac OS X 10.8. In Mac OS X 10.7.5, I don't encounter the same issue.
Note also that I am trying to run the app "MyApp" inside a sandboxed application.
I tried using 2 builds of "MyApp", but in both builds, the issue can be replicated:
- Code-signed (using a self-signed certificate)
- Not code-signed
What seems to be the problem? Am I missing something?
Tuesday, April 23, 2013
Using Google Geocoding Restful Web Service on Apple Maps?
Hi,
I am using Google Geocoding webservice (https://developers.google.com/maps/documentation/geocoding) with apple maps. Is that allowed? Will my app get rejected?
Anyone has any experience to share?










