CocoaPods permission denied for the workspace

If you happen to have problem with opening your workspace after installing cocoapods, use the steps below to fix it:

cd   ReactiveCocoaFolder

sudo chmod 777 ReactiveCocoa.xcworkspace

sudo chmod 777 Pods

cd Pods

sudo chmod 777 Pods.xcodeproj

Note: Change ReactiveCocoa – to the name of your project.

Categories: Uncategorized | Tags: , , | Leave a comment

Google Mobile Analytics for iOS How to make it Work?

Google Mobile Analytics for iOS is a great free service that lets you to track views, events and many more using a Google Analytics SDK .
Unfortunately Google Developers didn’t bother themselves to write or update a correct description of steps needed to start using it.
Their guide has two major mistakes:

  • it doesn’t mention that you must link your app with an AdSupport framework
  • it’s referencing wrong name of the property that is used to track the name of the screens (.trackedViewName instead of .screenName)

 

How to fix it:
I assume you followed the steps of their guide and finished in the best case with a errors similar to:

Undefined symbols for architecture i386:
"_OBJC_CLASS_$_ASIdentifierManager", referenced from:
objc-class-ref in libGoogleAnalyticsServices.a(TAGAdvertiserId.o)
objc-class-ref in libGoogleAnalyticsServices.a(TAGAdvertisingTrackingEnabledMacro.o)
objc-class-ref in libGoogleAnalyticsServices.a(TAGMobileAdwordsUniqueIdMacro.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

 

To fix that error go ahead and link your app with an AdSupport Library:
Screen Shot 2013-12-02 at 9.57.01 AM

That will fix the problem with compiling.

If you keep following their guide and try to use a trackedViewName property you won’t be able to compile your app.
Screen Shot 2013-12-02 at 10.01.32 AMIn order to fix it use the screenName property like in an example below:

- (void)viewDidLoad
{
[super viewDidLoad];

self.screenName = @”Browser View Controller”;

App will still show you that there is an error but it will compile and work fine.
Hope it will helps.

Categories: Uncategorized | Tags: , , | Leave a comment

Congrats to my dear friend Janusz Chudzynski

Faculty, Students Present at FCTM ConferenceFCTM

Faculty members and students presented two projects at the Florida Council of Teachers of Mathematics Annual Conference, Oct. 17 through 19 in Orlando, Fla.

 

Mr. Janusz Chudzynski, Academic Technology Center, Dr. Giang-Nguyen Nguyen, School of Education, and Dr. Dung Tran, research associate at North Carolina State University presented “Elementary Mathematics Apps from a Learning Trajectory Perspective for Common Core.” The presentation featured a preliminary version of an iPad app created through a collaboration between faculty, staff, and students. The project is funded by an Instructional Technology Enhancement Project (ITEP) grant.

 

Dr. Giang-Nguyen Nguyen and her student Kelsey Fleming presented “Visual Representation Between Basic Trigonometric Functions and the Unit Circle“ at the conference. The presentation highlighted their inquiry mathematics project, which utilized the dynamic software Geogeba to investigate a concept in trigonometry. The project was supported by the UWF Office of Undergraduate Research (OUR).

 

UWF students interested in participating in the Mentoring Extended Research in Teaching (MeRiT) program, where students conduct research under faculty supervision, are asked to contact contact Dr. Nguyen at gnguyen@uwf.edu for more more information.

Categories: Uncategorized | Leave a comment

Background Updating in iOS 7

I found this pretty good tutorial about background updates in iOS7.

http://hayageek.com/ios-background-fetch/

Categories: Uncategorized | Tags: | Leave a comment

Social Discovery and Improving Location Capabilities using bluetooth on iOS

Just like a title states. We are trying to explore how we can improved accuracy of the user’s location using iOS.

http://stackoverflow.com/questions/13177384/is-it-possible-to-get-bluetooth-mac-and-or-signal-strength-in-ios-6

http://stackoverflow.com/questions/11772746/iphone-4s-can-connect-two-bluetooth-4-0-device

Some things that we need to accomplish are:
- discover devices that are nearby

QR Code

- http://www.oscarsanderson.com/2011/08/07/implementing-a-qr-code-reader-on-the-iphone/
-  http://mobileorchard.com/tutorial-networking-and-bonjour-on-iphone/
- https://developer.apple.com/bonjour/

Testing Locally:

http://developer.apple.com/library/ios/#technotes/tn2295/_index.html

 

 

 

 

 

Categories: Uncategorized | Leave a comment

Video Conference in Browser?

http://www.codeproject.com/Articles/515192/Video-Conferencing-using-WebRTC

http://www.codeproject.com/Articles/486354/Use-JavaScript-and-WebRTC-API-to-access-your-Camer

 

Categories: Uncategorized | Leave a comment

IE 10 vs AJAX console.log

I found one more reason to love IE (ironic)
For last few days (it was low priority project) I was trying to find out why my web app doesn’t work under IE 10.
It was surprising for me because I didn’t have problem with web app with other browsers like Safari, Firefox or Google Chrome.  After some debugging I narrowed down problem to AJAX call.
I will save you reading all my code provided below, and tell you what was wrong.
So IE didn’t like console.log.

Yes, CONSOLE.LOG!!! WTF Microsoft????
My AJAX call wasn’t executed because console.log statement was written before the send() method…

The only reason why I found it is because web app was working fine whenever I had developers tool on.

Now. What do you think it’s the reason this behavior?

I agree that we should always write a clean code, but WTF. If you want to have logging statement in my code I should be able to have it!

var insertXmlhttp;
var updateXmlhttp;
var validateXmlhttp;

if (window.XMLHttpRequest)
  {// code for IE7+, Firefox, Chrome, Opera, Safari
  	insertXmlhttp=new XMLHttpRequest();
    updateXmlhttp=new XMLHttpRequest();
  	validateXmlhttp = new XMLHttpRequest();
  }
else
{// code for IE6, IE5
 insertXmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
 updateXmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
 validateXmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
}

insertXmlhttp.onreadystatechange=function()
 {

    if (insertXmlhttp.readyState==4 && insertXmlhttp.status==200)
    {
	  	current_attemptId = insertXmlhttp.responseText;	
    }
}

function startTheAttempt (activity, score)
{
	console.log("And now in ajax.js Start The Attempt: ");
	insertXmlhttp.open("POST","../Scripts/attempt.php",true);
	insertXmlhttp.setRequestHeader("Content-type","application/x-www-form-urlencoded");
	insertXmlhttp.send("action=start&activity="+activity+"&score="+score+"&userid="+userId);
	alert(" Start The ATTEMPT 2 + ");
}
Categories: Cool Tools & Techniques, Projects | Tags: , | Leave a comment

Cool Graphs

Check out 50 Javascript libraries for Charts and Graphs.
http://techslides.com/50-javascript-charting-and-graphics-libraries/

Categories: Uncategorized | Leave a comment

BlackBerry Port A Thon

So far I have mixed feelings about RIM Blackberry.
I am trying to register as a new Vendor, and so far I am getting much help.
I sent them emails with required documents to three different places and so far I can hear back…
silence, nothing, null.
Not the best sign for the company that is trying to survive on the market.

Categories: Uncategorized | Leave a comment

Cross Platform Development

So I have to build an app that will work for Android and iOS.
I like more native approach, but in this case I wanted to try something new and learn more about cross platform solutions.
After few hours of research I decided to go with Sencha Touch.
After installing the tools I am getting message that is described broadly here
Not a best start Sencha! Big Minus

Categories: Uncategorized | Leave a comment