GithubHelp home page GithubHelp logo

forcedotcom / salesforcemobilesdk-ios Goto Github PK

View Code? Open in Web Editor NEW
532.0 85.0 415.0 673.46 MB

iOS SDK for Salesforce

License: Other

Objective-C 87.61% Shell 0.33% C 0.54% Swift 10.18% Python 0.65% Ruby 0.69%

salesforcemobilesdk-ios's Introduction

Salesforce.com Mobile SDK for iOS

CircleCI Known Vulnerabilities GitHub release (latest SemVer)

You have arrived at the source repository for the Salesforce Mobile SDK for iOS. Welcome! There are two ways you can choose to work with the Mobile SDK:

  • If you'd like to work with the source code of the SDK itself, you've come to the right place! You can browse sample app source code and debug down through the layers to get a feel for how everything works under the covers. Read on for instructions on how to get started with the SDK in your development environment.
  • If you're just eager to start developing your own new application, the quickest way is to use our npm distribution package, called forceios, which is hosted on npmjs.org. Getting started is as simple as installing the npm package and launching your template app. You'll find more details on the forceios package page.

Installation (do this first - really)

Working with this repository requires working with git. Any workflow that leaves you with a functioning git clone of this repository should set you up for success. Downloading the ZIP file from GitHub, on the other hand, is likely to put you at a dead end.

Setting up the repo

First, clone the repo:

  • Open the Terminal App
  • cd to the parent directory where the repo directory will live
  • git clone https://github.com/forcedotcom/SalesforceMobileSDK-iOS.git

After cloning the repo:

  • cd SalesforceMobileSDK-iOS
  • ./install.sh

This script pulls the submodule dependencies from GitHub, to finalize setup of the workspace. You can then work with the Mobile SDK by opening SalesforceMobileSDK.xcworkspace from Xcode.

The Salesforce Mobile SDK for iOS requires iOS 15.0 or greater. The install.sh script checks for this, and aborts if the configured SDK version is incorrect.

Introduction

What's New in 12.0.0

See release notes.

Native Applications

The Salesforce Mobile SDK provides the essential libraries for quickly building native mobile apps that interact with the Salesforce cloud platform. The OAuth2 library abstracts away the complexity of securely storing the refresh token or fetching a new session ID when it expires. The SDK also provides wrappers for the Salesforce REST API that you can use from both Swift and Objective-C.

Documentation

Discussion

If you would like to make suggestions, have questions, or encounter any issues, we'd love to hear from you. Post any feedback you have on the Mobile SDK Trailblazer Community.

salesforcemobilesdk-ios's People

Contributors

aprabhu avatar asceticmonk avatar asikora-sf avatar bbirman avatar bhariharan avatar brandonpage avatar briandotnet avatar bwang-salesforce avatar codefriar avatar dbreese avatar dprophete-sfdc avatar guo-li avatar helenren avatar humaggie avatar huminzhi avatar ivansfdc avatar jarbogast-salesforce avatar jeanbovet avatar jhersh avatar johnsonericatsalesforce avatar kchitalia avatar khawkins avatar mgetzbw avatar qingqingliu avatar rwhitley avatar sgoldberg-sfdc avatar tliu2121999 avatar tstellanova-sfdc avatar tysonbunch avatar wmathurin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

salesforcemobilesdk-ios's Issues

RESTKit errors on requests with long query strings

I'm seeing an error thrown when I try to perform a retrieve (either with the block methods or by manually creating a request) with many fields.

Retrieving an account record with 3 fields specified (id, name, industry) works fine, but I'm trying to render a full page layout (as many as 500 fields, possibly more due to lookup fields).

A retrieve using the exact same fields on the exact same record, but over SOAP/zksforce, works.

The request generated:


The error:

2012-01-05 15:37:21.881 SF Viewer[85690:40b] *** -[__NSCFConstantString stringByAppendingPathComponent:]: cannot append path '/services/data/v23.0/sobjects/Account/0013000000sps6sAAA?fields=RecordType.Name%2CAccount_Location__c%2CLastModifiedBy.email%2CCreatedBy.mobilephone%2CjsSDO__Sync_Status_Indicator__c%2Cid%2COwner.email%2COwner.phone%2COwner.city%2CIndustry%2CName%2CShippingCountry%2CCreatedBy.title%2COwner.aboutme%2CIsPersonAccount%2CLastModifiedBy.mobilephone%2CLastModifiedBy.aboutme%2CNumberOfEmployees%2CLastModifiedBy.fullphotourl%2CBillingCity%2COwner.currentstatus%2CLastModifiedBy.currentstatus%2CBillingStreet%2CLastModifiedBy.title%2CParent.RecordTypeId%2CCreatedBy.smallphotourl%2CAnnualRevenue%2CParentId%2CjsSDO__Duplicate__c%2CLastModifiedById%2COwner.department%2CFN__Find_Nearby__c%2CLastModifiedBy.department%2CLastModifiedBy.name%2CShippingState%2CFN__Which_Address__c%2COwnerId%2CjsSDO__Jigsaw_Id__c%2CCreatedBy.currentstatus%2CLastModifiedBy.state%2CWebsite%2COwner.title%2CParent.Name%2CParent.id%2CCreatedDate%2CCreatedBy.aboutme%2CFax%2CBillingState%2CBillingPostalCode%2COwner.fullphotourl%2CRecordTypeId%2COwner.name%2CClosed_Won_Value__c%2CCreatedBy.city%2CCreatedBy.phone%2CShippingCity%2CCreatedById%2COwner.mobilephone%2CLastModifiedBy.phone%2CLastModifiedBy.smallphotourl%2CCreatedBy.state%2COwner.state%2CShippingStreet%2CCreatedBy.email%2COwner.smallphotourl%2CCreatedBy.department%2CLastModifiedDate%2CShippingPostalCode%2CRecordType.id%2CPersonContactId%2CCreatedBy.name%2CType%2CPhone%2CLastModifiedBy.city%2CjsSDO__Additional_Information__c%2CjsSDO__Jigsaw_Last_Sync_Locked__c%2CFN__Mapping_Status__c%2CCreatedBy.fullphotourl%2CBillingCountry' to path ''

Update: This happens on any request with a long query string.

Problem retrieving 'Attachment' objects with nextRecordsUrl & sendRESTRequest method

Guys,

I'm having a problem retrieving Attachment objects beyond the 2000 row limit with the 'new' sendRESTRequest block method.
The method gets into the success block but then logs:
WARNING error parsing json: Error Domain=NSCocoaErrorDomain Code=3840 "The operation couldnโ€™t be completed. (Cocoa error 3840.)" (No value for key in object around character 372.) UserInfo=0x1269fc40 {NSDebugDescription=No value for key in object around character 372.}

I'm constructing the SFRestRequest using the code:

NSString *nextRecords = [dict objectForKey:@"nextRecordsUrl"];
SFRestRequest *nextRecordsRequest = [[SFRestRequest alloc] init];
[nextRecordsRequest setEndpoint:@"/services/data"];
[nextRecordsRequest setPath:nextRecords];
[nextRecordsRequest setMethod:SFRestMethodGET];

Then executing it with:
[[SFRestAPI sharedInstance] sendRESTRequest:request failBlock:^(NSError *e) {
// Failure...
} completeBlock:^(id dict){
// Success...
}];
}

This same technique for building the request seems to work for the other objects we're retrieving so I'm not sure what the difference would be here.

Let me know if you need more information.

Retrieve fails with many fields specified

This is a possible duplicate of Issue 25.

I am running a Retrieve operation for a single record, but the request returns no results. I am using the block methods for Retrieve and the success block is called with a nil Dictionary (I would have expected the fail block to be called).

The only explanation I can think of is that there are many, many fields in this retrieve request. A retrieve in the same org, with the same user, in the same session, but on a different record (with fewer fields) is successful.

Here is the full request as logged by the SDK:

2012-02-22 12:54:23.372 Salesforce[39605:40b] SFRestAPI::send:delegate: [<SFRestRequest> method: GET, path: /v24.0/sobjects/Installation_Project__c/a15D0000000U4n7IAC, queryParams: {"fields":"Who_SI__r.Name,Who_SI__r.mobilephone,Who_IW__r.currentstatus,Who_CC__r.phone,Who_RC__r.currentstatus,Who_RC__r.Name,Who_Check_Order__r.Name,Who_CS__r.phone,Who_Con__r.smallphotourl,Who_WP__c,Who_AS__c,Who_CD__r.phone,Who_LO__r.state,Customer_Satisfaction_Call__c,LastModifiedBy.smallphotourl,Who_WP__r.currentstatus,Who_PL__r.email,Who_AS__r.title,Due_Date_AS__c,Who_Di__r.mobilephone,CreatedDate,Who_CB__r.mobilephone,LastModifiedBy.email,Who_SS__r.smallphotourl,Who_PM__c,Who_WP__r.department,Who_PM__r.email,Who_RC__c,Who_Di__r.smallphotourl,Due_Date_CQ__c,Project_Owner__r.department,Project_Owner__r.mobilephone,Project_Owner__r.phone,Who_PL__r.smallphotourl,Cmt_Check_Order__c,Planned_Install_Date__c,Who_PL__r.Name,Who_RC__r.email,Project_Owner__r.Name,Project_Issue__c,Actual_Install_Days_manual__c,Who_WP__r.city,Due_Date_LO__c,Who_CC__r.smallphotourl,Who_TR__r.title,Who_PL__r.state,Oppty_Status__c,Who_CQ__c,Who_SS__r.phone,Who_Check_Order__r.state,Comment_DP__c,Who_TR__r.fullphotourl,Comment_Install_days_LATE_reason__c,Who_Check_Order__r.mobilephone,Start_Date__c,Who_PM__r.state,Who_DP__r.phone,Project_Owner__r.state,LastModifiedBy.fullphotourl,CreatedBy.city,Project_Owner__r.fullphotourl,Who_WP__r.Name,Who_CC__r.fullphotourl,Who_SI__r.department,Transport__c,Who_PC__r.phone,Who_Con__r.city,Who_RC__r.state,Who_SC__r.currentstatus,CreatedBy.fullphotourl,Who_DP__r.aboutme,Who_Di__r.email,Deposit_invoiced_paid__c,Who_Con__r.Name,Who_CQ__r.currentstatus,Opportunity__r.RecordTypeId,Generate_pre_activities__c,Comment_LO__c,Project_Owner__r.email,CreatedBy.Name,Who_SI__r.title,Who_SS__r.mobilephone,Who_WP__r.phone,Generate_After_Activities__c,Who_CS__r.smallphotourl,Who_Di__c,Who_TR__r.department,Who_CD__r.department,Who_CB__r.state,Who_IW__r.aboutme,Who_CB__r.department,LastModifiedBy.city,Who_Di__r.state,Who_AS__r.fullphotourl,Account_Name__c,Who_SC__r.mobilephone,CreatedById,LastModifiedBy.state,Comment_PC__c,Who_SS__r.aboutme,Who_SS__r.currentstatus,Who_Con__r.title,Arrange_Site_Visit__c,Who_CB__r.city,LastModifiedBy.phone,Who_WP__r.fullphotourl,CreatedBy.phone,Who_PM__r.department,Who_CQ__r.email,Who_WP__r.aboutme,Who_IW__r.phone,Who_CS__r.department,Who_Con__r.email,Who_PL__r.currentstatus,Who_PL__r.aboutme,Who_CQ__r.department,Who_CC__r.currentstatus,Who_CB__r.email,Who_LO__r.smallphotourl,Who_CB__r.Name,Who_RA__r.title,Who_CQ__r.mobilephone,Load_Oracle_Order__c,Who_Check_Order__r.phone,Who_CD__c,Who_CS__r.fullphotourl,Who_SC__c,PM_Sign_off__c,Project_Owner__r.currentstatus,Who_CC__r.email,Who_CS__r.email,Who_PL__c,Who_SC__r.department,Who_CD__r.city,LastModifiedBy.mobilephone,Who_RA__r.mobilephone,Who_CQ__r.fullphotourl,Who_CD__r.email,Who_CQ__r.state,Opportunity__r.Name,Who_SS__c,Who_LO__r.title,Comment_SI__c,Opportunity__c,Internal_Work_Order__c,Who_Con__r.department,Who_CD__r.Name,Who_CC__r.state,Who_AS__r.phone,Id,Who_PM__r.aboutme,Who_Con__c,Who_CS__r.state,Who_AS__r.department,Comment_Con__c,Who_CS__r.currentstatus,Generate_Internal_Sales_Activities__c,Who_CD__r.state,Who_LO__r.aboutme,Who_LO__r.fullphotourl,Who_Con__r.aboutme,Who_Di__r.currentstatus,Who_DP__r.smallphotourl,Who_TR__r.phone,Who_Di__r.department,Who_IW__r.mobilephone,Who_RA__r.fullphotourl,Comment_IW__c,Who_SC__r.email,Who_SC__r.fullphotourl,Due_Date_SC__c,Who_SS__r.email,Who_PL__r.title,Planned_Install_days_manual__c,Who_DP__r.email,Who_IW__r.fullphotourl,LastModifiedBy.department,Who_Di__r.aboutme,Who_PM__r.title,Who_IW__r.city,Installation_Project_No__c,Who_PC__r.fullphotourl,LastModifiedBy.currentstatus,Schedule_Installation__c,Who_PC__r.email,Completes_Site_Survey__c,Who_SC__r.city,LastModifiedDate,Project_Outline__c,Who_RC__r.title,Who_SC__r.state,Project_Age__c,Who_LO__r.mobilephone,Who_SS__r.state,Who_LO__r.currentstatus,Due_Date_CD__c,Who_Check_Order__r.smallphotourl,Due_Date_WP__c,Who_IW__r.Name,Comment_WP__c,Who_DP__r.state,Who_Check_Order__r.title,Who_CB__r.smallphotourl,Who_WP__r.email,Who_SC__r.aboutme,Project_Owner__r.aboutme,Who_RC__r.department,Who_SI__r.phone,Who_SC__r.Name,CreatedBy.department,Who_PC__r.smallphotourl,Generate_Install_Activities__c,End_Date__c,Who_RA__r.department,Who_PC__r.state,Check_delivery_Status__c,Who_AS__r.mobilephone,Who_RC__r.fullphotourl,Who_Di__r.fullphotourl,Purchse_Local_Parts__c,Who_LO__r.city,Who_CB__r.title,DD_Check_order__c,Who_TR__r.city,Check_Order__c,Who_Di__r.title,Due_Date_IW__c,Who_Check_Order__r.aboutme,Not_SF_listed_Customer_members__c,Who_IW__r.department,Who_PC__r.mobilephone,Due_Date_CC__c,Who_CC__c,Comment_RC__c,Who_WP__r.state,Who_PM__r.fullphotourl,Who_LO__r.Name,Who_SS__r.fullphotourl,Who_SS__r.city,CreatedBy.email,Who_Con__r.state,Welcome_Pack__c,Who_TR__r.Name,Who_CQ__r.aboutme,Who_IW__r.email,Who_RA__c,LastModifiedBy.title,Comment_DI__c,Who_LO__r.department,Who_PM__r.city,Who_DP__c,Who_SI__r.fullphotourl,Active__c,Who_Check_Order__r.city,Who_CS__c,Who_PC__r.department,Who_RA__r.smallphotourl,Who_WP__r.mobilephone,Comment_AS__c,Who_TR__r.smallphotourl,Who_RA__r.phone,Who_SS__r.Name,Who_DP__r.mobilephone,Who_PM__r.mobilephone,Who_PC__c,Due_Date_RC__c,Comment_RA__c,Due_Date_CB__c,Who_CD__r.fullphotourl,Who_PM__r.Name,CreatedBy.state,Who_IW__r.state,Actual_Install_End_Date__c,Cross_Border__c,Who_CD__r.mobilephone,Who_CQ__r.title,Who_TR__r.mobilephone,Who_LO__c,Name,Due_Date_SS__c,Who_RC__r.phone,Who_DP__r.city,Comment_CC__c,Who_CB__r.fullphotourl,Who_LO__r.phone,Project_Owner__r.smallphotourl,Planned_End_Date__c,Due_Date_TR__c,Who_AS__r.email,Who_DP__r.department,Who_AS__r.aboutme,Who_CB__r.currentstatus,Who_CC__r.title,Who_Con__r.fullphotourl,Comment_CD__c,Who_CS__r.title,Who_CQ__r.city,Who_Check_Order__r.currentstatus,Who_PC__r.currentstatus,Who_TR__r.aboutme,Who_DP__r.Name,Who_PM__r.smallphotourl,Who_CD__r.title,Who_Con__r.currentstatus,Who_CD__r.smallphotourl,Comment_SC__c,On_Hold_reason__c,Due_Date_Con__c,Who_Con__r.phone,Due_Date_PM__c,Who_DP__r.currentstatus,Who_TR__r.email,LastModifiedBy.aboutme,Who_AS__r.state,Comment_PM__c,Who_CQ__r.Name,Resource_line_cost__c,Who_SI__r.smallphotourl,Who_Check_Order__r.fullphotourl,Who_PL__r.phone,Who_DP__r.fullphotourl,Not_SF_listed_Domino_Members__c,Who_AS__r.smallphotourl,Credit_Check__c,Due_Date_DI__c,Who_CS__r.aboutme,Who_SI__c,Who_AS__r.city,Recieve_Confirmation__c,Comment_CB__c,Who_Check_Order__r.email,Who_Check_Order__c,Who_SI__r.aboutme,Who_PM__r.phone,Due_Date_RA__c,CreatedBy.smallphotourl,LastModifiedById,Who_TR__r.state,Who_CC__r.department,Who_RA__r.aboutme,Who_CC__r.mobilephone,Who_CC__r.city,Due_Date_CS__c,Who_RA__r.currentstatus,Project_Owner__c,Who_SC__r.title,Who_SS__r.title,Who_TR__r.currentstatus,Project_Owner__r.title,Who_AS__r.Name,Who_CB__c,Who_DP__r.title,Who_SI__r.email,Who_IW__r.smallphotourl,Who_SS__r.department,Who_RC__r.smallphotourl,Application_line_cost__c,Comment_cQ__c,Who_TR__c,Confirmation__c,Due_Date_SI__c,Who_PC__r.city,Who_CC__r.Name,Comment_SS__c,Who_PC__r.title,Comment_PL__c,Who_PL__r.department,Status__c,Who_CB__r.phone,Who_CQ__r.smallphotourl,Project_Completed__c,Who_Di__r.city,Who_Di__r.phone,Who_WP__r.smallphotourl,Who_SI__r.state,Who_PC__r.Name,Project_Owner__r.city,Who_CC__r.aboutme,Who_WP__r.title,Who_CS__r.mobilephone,Who_PM__r.currentstatus,Who_Check_Order__r.department,Who_PC__r.aboutme,CreatedBy.mobilephone,Due_Date_PC__c,Who_RA__r.city,Who_PL__r.mobilephone,Who_CD__r.currentstatus,Who_CS__r.city,LastModifiedBy.Name,Who_Di__r.Name,Actual_Install_Date__c,Who_Con__r.mobilephone,Who_RC__r.mobilephone,Planned_End_Date2__c,Opportunity__r.Id,Who_PL__r.city,Comment_CS__c,Who_RA__r.email,Who_CB__r.aboutme,Who_SI__r.currentstatus,CreatedBy.aboutme,Who_IW__c,Due_Date_PL__c,Who_RA__r.Name,Deposit_invoiced_raised__c,Who_AS__r.currentstatus,Who_CS__r.Name,Who_PL__r.fullphotourl,Who_SI__r.city,CreatedBy.title,Due_Date_DP__c,Request_Application_information_from_Sal__c,Check_Supplier__c,Comment_TR__c,Who_IW__r.title,CreatedBy.currentstatus,Who_RC__r.city,Who_RC__r.aboutme,Who_CD__r.aboutme,Who_CQ__r.phone,Check_Quote__c,Who_LO__r.email,Who_SC__r.smallphotourl,Who_SC__r.phone,Who_RA__r.state,Install_days_LATE_reason__c"}]

Source should be provided for dist/SalesforceCommonUtils

We'd like to compile the SFRestAPI directly into our app, and be able to single-step through the implementation to debug. Most source files are provided except the implementations of SalesforceCommonUtils:

NSData+SFAdditions.h SFMD5.h
NSDictionary+SFAdditions.h SFPadPickListViewController.h
NSObject+SFBlocks.h SFPathUtil.h
NSString+SFAdditions.h SFPhonePickListViewController.h
NSString+SFPathAdditions.h SFPickListViewController.h
SFCoverView.h SFTestContext.h
SFDateUtil.h UIActionSheet+SFBlocks.h
SFDeviceInfo.h UIAlertView+SFBlocks.h
SFEncryptionManager.h UIBarButtonItem+SFAddtions.h
SFGradientView.h UIDevice+SFHardware.h
SFKeychainItemWrapper.h UILabel+SFAdditions.h
SFLogger.h

Also, it's weird that these headers are distributed inside a zip, and not as part of the github sources. It'd be nice if the SDK were distributed as a clean set of source and headers that you can just drag into your XCode app, compile, and run. Getting the basic sample app is pretty hard to build. Typically, you just clone the github repo, double click on the xcode project, and hit the play button.

RKRequestDelegateWrapper send assumes that it will prepend /services/data

Originally reported here:

http://boards.developerforce.com/t5/Mobile/In-iOS-how-do-you-get-the-nextRecordsURL-data/m-p/392379/thread-id/262

The problem appears to be that URLs returned from the REST API already have /services/data prepended, and yet RKRequestDelegateWrapper assumes that it will prepend it. The result is that it ends up building a bogus request URL.

We will modify RKRequestDelegateWrapper to check whether the endpoint path is already prepended.

Logout in Hybrid app samples

Hi,

After installing V 1.4 mobile salesforce SDK,

I tried to run the sample hybrid "SFDCAccount" its work work fine with fetching data,

But when hit the Logout button its redirect to bootstrap.html screen and stucks[screenshot atta
Screen Shot 2012-12-10 at 8.29.39 PM.png
ched]

Log screen ;
Screen Shot 2012-12-10 at 8.30.14 PM.png

And its not redirected to the sales force login screen.

Note : I Logged login with Developer Account

Correct me if wrong : whether the hybrid app samples are compatible with v 1.4 SDK?

Cocoa error while updating record on salesforce

Sorry for my bad english (i'm fench).
I'm currently developping with the Salesforce SDK for IOS and have an unresolved issue.
When I try to insert a new record (With SFRest API) into the DataBase, everything is OK (no error, the response flag 'success' is set to true).
But, when i try to update a field in a record (with requestForUpdateWithObjectType:), the salesforce object is updated in the DataBase, but the request response from Salesforce throw me the following error:

WARNING error parsing json: Error Domain=NSCocoaErrorDomain Code=3840 "The operation couldnโ€™t be completed. (Cocoa error 3840.)" (No value.) UserInfo=0x6caabe0 {NSDebugDescription=No value.}

the json response (from the methode delegate) is equal to 'nil'.

Query param (NSDictionnary with just one field for test):

queryParams: {
"sylphone_main__ActionSylphone__c" : "Rappel 10 min"
}

Tested on IOS 5.1

FMDB Namespace Collision

The salesforce libraries are using FMDB. I am using TouchDB, a iOS Couchdb implementation. It also uses FMDB. This is causing a name collision. Is there anything that can be done about this on the SalesforceMobileSdk side?

Upgrading from previous iOS SDK

Is this version from last week a drop in upgrade? Or, do we have to convert all queries to blocks once we switch over? I'd like to use blocks, but trying to gauge an LOE on migrating older projects.

Smartstore cursor paging problem

(I couldn't find a hybrid app issues list, so as I'm building an ios hybrid I'm submitting it here)

I'm writing a new app based on the cloudtunes example and I retrieve all the child objects in one go and store them into a soup - 36 of them. If I then attempt to retrieve these using a cursor page size of 20 and log to the console, the app spins and errors a short while later.

After much debugging, it appears the following lines in the onSuccessQuerySoup function are where the app is spinning:

  while(cursor.currentPageIndex < cursor.totalPages - 1) 
  {
     navigator.smartstore.moveCursorToNextPage(cursor, addEntriesFromCursor);
  }

If I log the value of cursor.currentPageIndex it stays at zero, so the loop doesn't exit until the number of entries exhausts available resource. If I modify this to:

  var currPageIdx=cursor.currentPageIndex; 
  while(currPageIdx < cursor.totalPages - 1) 
  {
     navigator.smartstore.moveCursorToNextPage(cursor, addEntriesFromCursor);
     currPageIdx++;
  }

then the loop completes after the correct number of iterations.

Access Partner Portal

Hi there,

Is there way to access partner portal by using iOS SDK? We have tried several times, none of them are working.

Thanks

Insufficient Privileges

Hi,

I am using salesforce sdk to develop my iOS native app. I have a non administrator account in database.com. When i login to that account it always shows

"Insufficient Privileges "
"You do not have the level of access necessary to perform the operation you requested. Please contact the owner of the record or your administrator if access is necessary"

And in my iOS app it shows a alert box follows

"sales force error"

oauthCoordinator:didFailWithError: Error Domain=WebKitErrorDomain Code=101 "The URL canโ€™t be shown"

Even administrator could not identify this issue.

Why this problem occurs? Do admin want to set up any additional settings?

Can anyone please clarify this?

Partner tokens

I believe there's support for partner tokens in REST as of Winter '12 and I'd love to see support for them in SFOAuthCredentials. It's really the only way to work with GE/PE orgs.

updated libs?

Are there updated libs available for the new Native version?

ConnectedApp in Hybrid does not handle device orientation correctly

Hello,

It seems that when the device orientation is changed during the 'Connected App' set pin or confirm pin screen, the underlying web view isn't getting the notification that the orientation has changed. This results in a screen where although the device is in landscape, the webView is still in portrait (resulting in a large chunk of the screen as black).

After further testing, this only occurs from portrait to landscape though. I haven't been able to recreate from landscape to portrait.

This occurs in both actual tested devices and on iOS simulator

Here is an example screenshot:
http://d.pr/i/gIZI

To recreate:

  1. Create new SalesForceMobile Hybrid project using a connected app as the consumer key.
  2. Ensure simulator is in portrait mode.
  3. Open the app past authentication to the createPin or simply come back to the app at the 'confirm pin' screen.
  4. Change device orientation
  5. Provide pin

expected: web view should show full screen
result: black bar on right hand side of screen, and bottom of web view missing.

CRASH: Web Login throws exception when offline and never signed in before

I created an app using the XCode SalesForce Native App template.
Everything is working quite well.

However, if I delete the app from my device (to clear all data), disable wi-fi or enable Airplane mode, then run the app again, the Web Login screen (in the SalesForce SDK) throws an exception and crashes to desktop, before hitting any visible code (ie, does not hit the viewDidLoad of my "New Root View Controller", nor any exposed functions in the App Delegate.

Is there a workaround for this? I can't do anything in the catch block of main.m.
If not, can you fix this so it instead loads the New Root View Controller and perhaps sets an error flag?

Here's the error:
Auth token refresh couldn't connect to server: The Internet connection appears to be offline.
*** Assertion failure in -[SFIdentityCoordinator initWithCredentials:]

Remember Me does not seem to work

Hello,

It seems that 'Remember Me' no longer seems to work.

The most I can narrow it down, is that it was working from around April 10th and the farthest back I can tell was on April 10th. (I did confirm that it does not work from the current build)

thank you,
Paul

BUILD FAILED - OSX 10.7.4 XCODE: Version 4.3.3 (4E3002)

I'm a new Mac user and I just bought my Mac so I assuming it may be compatibility issues but hopefully this isn't routine..but need help. I kept running into errors when cloning the project so I ended up manually downloading the zip file and copied the files into my repository and ran install.sh. The 'clean' appears to be successful but then running into other errors. I can copy the whole log if it would make a difference but hopefully the lines below will provide enough information.

Fatal error: 'FMDatabase.h' file not found

[exec]
[exec]
[exec] ** BUILD FAILED **
[exec]
[exec]
[exec] The following build commands failed:
[exec] CompileC build/SalesforceHybridSDK.build/Release-iphoneos/SalesforceHybridSDK.build/Objects-normal/armv7/SFSmartStore.o SalesforceHybridSDK/Plugins/SFSmartStore/../../../../../shared/Classes/SmartStore/SFSmartStore.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
[exec](1 failure)

BUILD FAILED
/Users/mfitz/Downloads/forcedotcom-SalesforceMobileSDK-iOS-ccd002a/shared/build.xml:326: The following error occurred while executing this line:
/Users/mfitz/Downloads/forcedotcom-SalesforceMobileSDK-iOS-ccd002a/shared/build.xml:334: The following error occurred while executing this line:
/Users/mfitz/Downloads/forcedotcom-SalesforceMobileSDK-iOS-ccd002a/hybrid/SalesforceHybridSDK/sfdc_build/build.xml:40: The following error occurred while executing this line:
/Users/mfitz/Downloads/forcedotcom-SalesforceMobileSDK-iOS-ccd002a/hybrid/SalesforceHybridSDK/sfdc_build/build.xml:209: The following error occurred while executing this line:
/Users/mfitz/Downloads/forcedotcom-SalesforceMobileSDK-iOS-ccd002a/hybrid/SalesforceHybridSDK/sfdc_build/build.xml:153: The following error occurred while executing this line:
/Users/mfitz/Downloads/forcedotcom-SalesforceMobileSDK-iOS-ccd002a/shared/build.xml:132: exec returned: 65

Thanks in advance.

Mike

Export SFAuthorizingViewController

At some point in a recent SDK release, SFAuthorizingViewController and SFNativeRestAppDelegate were added as part of libSalesforceSDK.a.

I'm fine with the latter, but I made a bunch of changes to the former for a nicer screen while it was authenticating. I added a custom background and a UIActivityIndicatorView.

I'm now blocked from updating to the latest SDK :/ Can you restore SFAuthorizingViewController as exported, or provide a better means to customize the authentication view, or both?

Issue Install.sh on Xcode 4.3

Hi,

I have issue installing SFDC SDK on XCODE 4.3 on my MAC, here is the log file.

build:

initArtifacts:
[mkdir] Created dir: /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer/sfdc_build/artifacts

dependency.hybrid_sdk.check:

iOSShared.dependency.hybrid_sdk:

ensureDependencies:

pre:

compileDebug:

iOSShared.compile:
[echo] installing ContactExplorer for SDK iphonesimulator
[exec] Build settings from command line:
[exec] INSTALL_ROOT = /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer/sfdc_build/artifacts/Simulator
[exec] SDKROOT = iphonesimulator5.1
[exec]
[exec] === BUILD NATIVE TARGET ContactExplorer OF PROJECT ContactExplorer WITH CONFIGURATION Debug ===
[exec] Check dependencies
[exec]
[exec] ProcessInfoPlistFile sfdc_build/artifacts/Simulator/Applications/ContactExplorer.app/Info.plist ContactExplorer/ContactExplorer-Info.plist
[exec] cd /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer
[exec] setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
[exec] builtin-infoPlistUtility ContactExplorer/ContactExplorer-Info.plist -genpkginfo /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer/sfdc_build/artifacts/Simulator/Applications/ContactExplorer.app/PkgInfo -expandbuildsettings -format binary -platform iphonesimulator -o /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer/sfdc_build/artifacts/Simulator/Applications/ContactExplorer.app/Info.plist
[exec]
[exec] CompileC build/ContactExplorer.build/Debug-iphonesimulator/ContactExplorer.build/Objects-normal/i386/AppDelegate.o ContactExplorer/Classes/AppDelegate.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
[exec] cd /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer
[exec] setenv LANG en_US.US-ASCII
[exec] setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
[exec] /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch i386 -fmessage-length=0 -std=gnu99 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wmissing-prototypes -Wreturn-type -Wno-implicit-atomic-properties -Wformat -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-sign-compare -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -DDEBUG=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk -fexceptions -fasm-blocks -Wprotocol -Wdeprecated-declarations -mmacosx-version-min=10.6 -g -Wno-conversion -Wno-sign-conversion -fobjc-abi-version=2 -fobjc-legacy-dispatch "-DIBOutlet=attribute((iboutlet))" "-DIBOutletCollection(ClassName)=attribute((iboutletcollection(ClassName)))" "-DIBAction=void)attribute((ibaction)" -D__IPHONE_OS_VERSION_MIN_REQUIRED=50100 -I/Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer/build/ContactExplorer.build/Debug-iphonesimulator/ContactExplorer.build/ContactExplorer.hmap -I/Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer/build/Debug-iphonesimulator/include -I/Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer/build/ContactExplorer.build/Debug-iphonesimulator/ContactExplorer.build/DerivedSources/i386 -I/Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer/build/ContactExplorer.build/Debug-iphonesimulator/ContactExplorer.build/DerivedSources -F/Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer/build/Debug-iphonesimulator -F/Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer/../../dependencies -F/Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer/../../dependencies/SalesforceHybridSDK -include /var/folders/5p/j7d2wg_52k14xvv_gh18xv8c0000gn/C/com.apple.Xcode.501/SharedPrecompiledHeaders/ContactExplorer-Prefix-envanacfikkheedcfylmjgrwqxwt/ContactExplorer-Prefix.pch -MMD -MT dependencies -MF /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer/build/ContactExplorer.build/Debug-iphonesimulator/ContactExplorer.build/Objects-normal/i386/AppDelegate.d --serialize-diagnostics /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer/build/ContactExplorer.build/Debug-iphonesimulator/ContactExplorer.build/Objects-normal/i386/AppDelegate.dia -c /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer/ContactExplorer/Classes/AppDelegate.m -o /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer/build/ContactExplorer.build/Debug-iphonesimulator/ContactExplorer.build/Objects-normal/i386/AppDelegate.o
[exec]
[exec] Ld sfdc_build/artifacts/Simulator/Applications/ContactExplorer.app/ContactExplorer normal i386
[exec] cd /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer
[exec] setenv MACOSX_DEPLOYMENT_TARGET 10.6
[exec] setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
[exec] /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk -L/Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer/build/Debug-iphonesimulator -F/Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer/build/Debug-iphonesimulator -F/Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer/../../dependencies -F/Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer/../../dependencies/SalesforceHybridSDK -filelist /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer/build/ContactExplorer.build/Debug-iphonesimulator/ContactExplorer.build/Objects-normal/i386/ContactExplorer.LinkFileList -mmacosx-version-min=10.6 -Xlinker -objc_abi_version -Xlinker 2 -ObjC -all_load -Xlinker -no_implicit_dylibs -D__IPHONE_OS_VERSION_MIN_REQUIRED=50100 -lsqlite3 -framework Foundation -framework UIKit -framework CFNetwork -framework CoreGraphics -framework CoreLocation -framework CoreMedia -framework QuartzCore -framework Security -framework MobileCoreServices -framework AddressBook -framework AddressBookUI -framework AudioToolbox -framework AVFoundation -framework MediaPlayer -framework SystemConfiguration -framework SalesforceHybridSDK -o /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer/sfdc_build/artifacts/Simulator/Applications/ContactExplorer.app/ContactExplorer
[exec]
[exec] GenerateDSYMFile build/Debug-iphonesimulator/ContactExplorer.app.dSYM sfdc_build/artifacts/Simulator/Applications/ContactExplorer.app/ContactExplorer
[exec] cd /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer
[exec] setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
[exec] /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/dsymutil /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer/sfdc_build/artifacts/Simulator/Applications/ContactExplorer.app/ContactExplorer -o /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer/build/Debug-iphonesimulator/ContactExplorer.app.dSYM
[exec]
[exec] CpResource ContactExplorer/ContactExplorer-Prefix.pch sfdc_build/artifacts/Simulator/Applications/ContactExplorer.app/ContactExplorer-Prefix.pch
[exec] cd /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer
[exec] setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
[exec] builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -strip-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer/ContactExplorer/ContactExplorer-Prefix.pch /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer/sfdc_build/artifacts/Simulator/Applications/ContactExplorer.app
[exec]
[exec] CopyStringsFile sfdc_build/artifacts/Simulator/Applications/ContactExplorer.app/en.lproj/InfoPlist.strings ContactExplorer/en.lproj/InfoPlist.strings
[exec] cd /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer
[exec] setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
[exec] builtin-copyStrings --validate --inputencoding utf-8 --outputencoding binary --outdir /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer/sfdc_build/artifacts/Simulator/Applications/ContactExplorer.app/en.lproj -- ContactExplorer/en.lproj/InfoPlist.strings
[exec]
[exec] CpResource ContactExplorer/Resources/icons/icon-72.png sfdc_build/artifacts/Simulator/Applications/ContactExplorer.app/icon-72.png
[exec] cd /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer
[exec] setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
[exec] builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -strip-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer/ContactExplorer/Resources/icons/icon-72.png /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer/sfdc_build/artifacts/Simulator/Applications/ContactExplorer.app
[exec]
[exec] CpResource ContactExplorer/Resources/icons/icon.png sfdc_build/artifacts/Simulator/Applications/ContactExplorer.app/icon.png
[exec] cd /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer
[exec] setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
[exec] builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -strip-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer/ContactExplorer/Resources/icons/icon.png /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer/sfdc_build/artifacts/Simulator/Applications/ContactExplorer.app
[exec]
[exec] CpResource "ContactExplorer/Resources/icons/[email protected]" "sfdc_build/artifacts/Simulator/Applications/ContactExplorer.app/[email protected]"
[exec] cd /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer
[exec] setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
[exec] builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -strip-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip "/Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer/ContactExplorer/Resources/icons/[email protected]" /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer/sfdc_build/artifacts/Simulator/Applications/ContactExplorer.app
[exec]
[exec] CpResource "ContactExplorer/Resources/splash/Default-Landscapeipad.png" "sfdc_build/artifacts/Simulator/Applications/ContactExplorer.app/Default-Landscapeipad.png"
[exec] cd /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer
[exec] setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
[exec] builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -strip-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip "/Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer/ContactExplorer/Resources/splash/Default-Landscapeipad.png" /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer/sfdc_build/artifacts/Simulator/Applications/ContactExplorer.app
[exec]
[exec] CpResource "ContactExplorer/Resources/splash/Default-Portrait
ipad.png" "sfdc_build/artifacts/Simulator/Applications/ContactExplorer.app/Default-Portraitipad.png"
[exec] cd /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer
[exec] setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
[exec] builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -strip-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip "/Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer/ContactExplorer/Resources/splash/Default-Portrait
ipad.png" /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer/sfdc_build/artifacts/Simulator/Applications/ContactExplorer.app
[exec]
[exec] CpResource ContactExplorer/Resources/splash/Default.png sfdc_build/artifacts/Simulator/Applications/ContactExplorer.app/Default.png
[exec] cd /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer
[exec] setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
[exec] builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -strip-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer/ContactExplorer/Resources/splash/Default.png /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer/sfdc_build/artifacts/Simulator/Applications/ContactExplorer.app
[exec]
[exec] CpResource "ContactExplorer/Resources/splash/[email protected]" "sfdc_build/artifacts/Simulator/Applications/ContactExplorer.app/[email protected]"
[exec] cd /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer
[exec] setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
[exec] builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -strip-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip "/Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer/ContactExplorer/Resources/splash/[email protected]" /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer/sfdc_build/artifacts/Simulator/Applications/ContactExplorer.app
[exec]
[exec] CpResource "ContactExplorer/Resources/splash/DefaultiPad.png" "sfdc_build/artifacts/Simulator/Applications/ContactExplorer.app/DefaultiPad.png"
[exec] cd /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer
[exec] setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
[exec] builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -strip-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip "/Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer/ContactExplorer/Resources/splash/Default~iPad.png" /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer/sfdc_build/artifacts/Simulator/Applications/ContactExplorer.app
[exec]
[exec] CopyPlistFile sfdc_build/artifacts/Simulator/Applications/ContactExplorer.app/PhoneGap.plist ContactExplorer/PhoneGap.plist
[exec] cd /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer
[exec] setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
[exec] builtin-copyPlist --convert binary1 --outdir /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer/sfdc_build/artifacts/Simulator/Applications/ContactExplorer.app -- ContactExplorer/PhoneGap.plist
[exec]
[exec] CpResource ContactExplorer/Settings.bundle sfdc_build/artifacts/Simulator/Applications/ContactExplorer.app/Settings.bundle
[exec] cd /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer
[exec] setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
[exec] builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -strip-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer/ContactExplorer/Settings.bundle /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer/sfdc_build/artifacts/Simulator/Applications/ContactExplorer.app
[exec]
[exec] CpResource ContactExplorer/PhoneGapResources.bundle sfdc_build/artifacts/Simulator/Applications/ContactExplorer.app/PhoneGapResources.bundle
[exec] cd /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer
[exec] setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
[exec] builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -strip-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer/ContactExplorer/PhoneGapResources.bundle /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer/sfdc_build/artifacts/Simulator/Applications/ContactExplorer.app
[exec] ** BUILD FAILED **
[exec]
[exec]
[exec] The following build commands failed:
[exec] PBXCp ContactExplorer/../../../../external/shared/forcetk.js sfdc_build/artifacts/Simulator/Applications/ContactExplorer.app/www/forcetk.js
[exec] PBXCp ContactExplorer/../../../../external/shared/PhoneGap/bootstrap.html sfdc_build/artifacts/Simulator/Applications/ContactExplorer.app/www/bootstrap.html
[exec](2 failures)
[exec]
[exec] CpResource ContactExplorer/www sfdc_build/artifacts/Simulator/Applications/ContactExplorer.app/www
[exec] cd /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer
[exec] setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
[exec] builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -strip-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer/ContactExplorer/www /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer/sfdc_build/artifacts/Simulator/Applications/ContactExplorer.app
[exec]
[exec] PBXCp ContactExplorer/../../../../external/shared/../../hybrid/dependencies/PhoneGap.framework/www/phonegap-1.2.0.js sfdc_build/artifacts/Simulator/Applications/ContactExplorer.app/www/phonegap-1.2.0.js
[exec] cd /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer
[exec] setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
[exec] builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -strip-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer/ContactExplorer/../../../../external/shared/../../hybrid/dependencies/PhoneGap.framework/www/phonegap-1.2.0.js /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer/sfdc_build/artifacts/Simulator/Applications/ContactExplorer.app/www
[exec]
[exec] PBXCp ContactExplorer/../../../../external/shared/forcetk.js sfdc_build/artifacts/Simulator/Applications/ContactExplorer.app/www/forcetk.js
[exec] cd /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer
[exec] setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
[exec] builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -strip-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer/ContactExplorer/../../../../external/shared/forcetk.js /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer/sfdc_build/artifacts/Simulator/Applications/ContactExplorer.app/www
[exec] error: /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer/ContactExplorer/../../../../external/shared/forcetk.js: No such file or directory
[exec]
[exec] PBXCp ContactExplorer/../../../../external/shared/PhoneGap/bootstrap.html sfdc_build/artifacts/Simulator/Applications/ContactExplorer.app/www/bootstrap.html
[exec] cd /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer
[exec] setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
[exec] builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -strip-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer/ContactExplorer/../../../../external/shared/PhoneGap/bootstrap.html /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer/sfdc_build/artifacts/Simulator/Applications/ContactExplorer.app/www
[exec]
[exec]

BUILD FAILED
/Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer/sfdc_build/build.xml:34: The following error occurred while executing this line:
/Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/ContactExplorer/sfdc_build/build.xml:41: The following error occurred while executing this line:
/Users/fareed/Desktop/Iphone/forcedotcom/shared/build.xml:117: exec returned: 65

Total time: 2 seconds
Buildfile: /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/sfdc_build/build.xml

initArtifacts:
[mkdir] Created dir: /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/sfdc_build/artifacts

pre:

dependency.hybrid_sdk.check:

iOSShared.dependency.hybrid_sdk:

ensureDependencies:

build:

compileDebug:

iOSShared.compile:
[echo] installing VFConnector for SDK iphonesimulator
[exec] Build settings from command line:
[exec] INSTALL_ROOT = /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/sfdc_build/artifacts/Simulator
[exec] SDKROOT = iphonesimulator5.1
[exec]
[exec] === BUILD NATIVE TARGET VFConnector OF PROJECT VFConnector WITH CONFIGURATION Debug ===
[exec] Check dependencies
[exec]
[exec] ProcessInfoPlistFile sfdc_build/artifacts/Simulator/Applications/VFConnector.app/Info.plist VFConnector/VFConnector-Info.plist
[exec] cd /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector
[exec] setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
[exec] builtin-infoPlistUtility VFConnector/VFConnector-Info.plist -genpkginfo /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/sfdc_build/artifacts/Simulator/Applications/VFConnector.app/PkgInfo -expandbuildsettings -format binary -platform iphonesimulator -o /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/sfdc_build/artifacts/Simulator/Applications/VFConnector.app/Info.plist
[exec]
[exec] CompileC build/VFConnector.build/Debug-iphonesimulator/VFConnector.build/Objects-normal/i386/AppDelegate.o VFConnector/Classes/AppDelegate.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
[exec] cd /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector
[exec] setenv LANG en_US.US-ASCII
[exec] setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
[exec] /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch i386 -fmessage-length=0 -std=gnu99 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wmissing-prototypes -Wreturn-type -Wno-implicit-atomic-properties -Wformat -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-sign-compare -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -DDEBUG=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk -fexceptions -fasm-blocks -Wprotocol -Wdeprecated-declarations -mmacosx-version-min=10.6 -g -Wno-conversion -Wno-sign-conversion -fobjc-abi-version=2 -fobjc-legacy-dispatch "-DIBOutlet=attribute((iboutlet))" "-DIBOutletCollection(ClassName)=attribute((iboutletcollection(ClassName)))" "-DIBAction=void)attribute((ibaction)" -D__IPHONE_OS_VERSION_MIN_REQUIRED=50100 -I/Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/build/VFConnector.build/Debug-iphonesimulator/VFConnector.build/VFConnector.hmap -I/Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/build/Debug-iphonesimulator/include -I/Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/build/VFConnector.build/Debug-iphonesimulator/VFConnector.build/DerivedSources/i386 -I/Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/build/VFConnector.build/Debug-iphonesimulator/VFConnector.build/DerivedSources -F/Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/build/Debug-iphonesimulator -F/Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/../../dependencies -F/Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/../../dependencies/SalesforceHybridSDK -include /var/folders/5p/j7d2wg_52k14xvv_gh18xv8c0000gn/C/com.apple.Xcode.501/SharedPrecompiledHeaders/VFConnector-Prefix-dmctybglfkvutkftixjbevgteugo/VFConnector-Prefix.pch -MMD -MT dependencies -MF /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/build/VFConnector.build/Debug-iphonesimulator/VFConnector.build/Objects-normal/i386/AppDelegate.d --serialize-diagnostics /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/build/VFConnector.build/Debug-iphonesimulator/VFConnector.build/Objects-normal/i386/AppDelegate.dia -c /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/VFConnector/Classes/AppDelegate.m -o /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/build/VFConnector.build/Debug-iphonesimulator/VFConnector.build/Objects-normal/i386/AppDelegate.o
[exec]
[exec] Ld sfdc_build/artifacts/Simulator/Applications/VFConnector.app/VFConnector normal i386
[exec] cd /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector
[exec] setenv MACOSX_DEPLOYMENT_TARGET 10.6
[exec] setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
[exec] /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk -L/Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/build/Debug-iphonesimulator -F/Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/build/Debug-iphonesimulator -F/Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/../../dependencies -F/Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/../../dependencies/SalesforceHybridSDK -filelist /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/build/VFConnector.build/Debug-iphonesimulator/VFConnector.build/Objects-normal/i386/VFConnector.LinkFileList -mmacosx-version-min=10.6 -Xlinker -objc_abi_version -Xlinker 2 -ObjC -all_load -Xlinker -no_implicit_dylibs -D__IPHONE_OS_VERSION_MIN_REQUIRED=50100 -lsqlite3 -framework Foundation -framework UIKit -framework CFNetwork -framework CoreGraphics -framework CoreLocation -framework CoreMedia -framework QuartzCore -framework Security -framework MobileCoreServices -framework AddressBook -framework AddressBookUI -framework AudioToolbox -framework AVFoundation -framework MediaPlayer -framework SystemConfiguration -framework SalesforceHybridSDK -o /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/sfdc_build/artifacts/Simulator/Applications/VFConnector.app/VFConnector
[exec]
[exec] GenerateDSYMFile build/Debug-iphonesimulator/VFConnector.app.dSYM sfdc_build/artifacts/Simulator/Applications/VFConnector.app/VFConnector
[exec] cd /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector
[exec] setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
[exec] /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/dsymutil /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/sfdc_build/artifacts/Simulator/Applications/VFConnector.app/VFConnector -o /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/build/Debug-iphonesimulator/VFConnector.app.dSYM
[exec]
[exec] CpResource VFConnector/VFConnector-Prefix.pch sfdc_build/artifacts/Simulator/Applications/VFConnector.app/VFConnector-Prefix.pch
[exec] cd /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector
[exec] setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
[exec] builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -strip-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/VFConnector/VFConnector-Prefix.pch /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/sfdc_build/artifacts/Simulator/Applications/VFConnector.app
[exec]
[exec] CopyStringsFile sfdc_build/artifacts/Simulator/Applications/VFConnector.app/en.lproj/InfoPlist.strings VFConnector/en.lproj/InfoPlist.strings
[exec] cd /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector
[exec] setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
[exec] builtin-copyStrings --validate --inputencoding utf-8 --outputencoding binary --outdir /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/sfdc_build/artifacts/Simulator/Applications/VFConnector.app/en.lproj -- VFConnector/en.lproj/InfoPlist.strings
[exec]
[exec] CpResource VFConnector/Resources/icons/icon-72.png sfdc_build/artifacts/Simulator/Applications/VFConnector.app/icon-72.png
[exec] cd /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector
[exec] setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
[exec] builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -strip-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/VFConnector/Resources/icons/icon-72.png /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/sfdc_build/artifacts/Simulator/Applications/VFConnector.app
[exec]
[exec] CpResource VFConnector/Resources/icons/icon.png sfdc_build/artifacts/Simulator/Applications/VFConnector.app/icon.png
[exec] cd /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector
[exec] setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
[exec] builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -strip-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/VFConnector/Resources/icons/icon.png /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/sfdc_build/artifacts/Simulator/Applications/VFConnector.app
[exec]
[exec] CpResource "VFConnector/Resources/icons/[email protected]" "sfdc_build/artifacts/Simulator/Applications/VFConnector.app/[email protected]"
[exec] cd /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector
[exec] setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
[exec] builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -strip-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip "/Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/VFConnector/Resources/icons/[email protected]" /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/sfdc_build/artifacts/Simulator/Applications/VFConnector.app
[exec]
[exec] CpResource "VFConnector/Resources/splash/Default-Portraitipad.png" "sfdc_build/artifacts/Simulator/Applications/VFConnector.app/Default-Portraitipad.png"
[exec] cd /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector
[exec] setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
[exec] builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -strip-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip "/Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/VFConnector/Resources/splash/Default-Portraitipad.png" /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/sfdc_build/artifacts/Simulator/Applications/VFConnector.app
[exec]
[exec] CpResource "VFConnector/Resources/splash/Default-Landscape
ipad.png" "sfdc_build/artifacts/Simulator/Applications/VFConnector.app/Default-Landscapeipad.png"
[exec] cd /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector
[exec] setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
[exec] builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -strip-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip "/Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/VFConnector/Resources/splash/Default-Landscape
ipad.png" /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/sfdc_build/artifacts/Simulator/Applications/VFConnector.app
[exec]
[exec] CpResource VFConnector/Resources/splash/Default.png sfdc_build/artifacts/Simulator/Applications/VFConnector.app/Default.png
[exec] cd /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector
[exec] setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
[exec] builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -strip-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/VFConnector/Resources/splash/Default.png /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/sfdc_build/artifacts/Simulator/Applications/VFConnector.app
[exec]
[exec] CpResource "VFConnector/Resources/splash/[email protected]" "sfdc_build/artifacts/Simulator/Applications/VFConnector.app/[email protected]"
[exec] cd /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector
[exec] setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
[exec] builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -strip-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip "/Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/VFConnector/Resources/splash/[email protected]" /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/sfdc_build/artifacts/Simulator/Applications/VFConnector.app
[exec]
[exec] CpResource "VFConnector/Resources/splash/DefaultiPad.png" "sfdc_build/artifacts/Simulator/Applications/VFConnector.app/DefaultiPad.png"
[exec] cd /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector
[exec] setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
[exec] builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -strip-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip "/Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/VFConnector/Resources/splash/Default~iPad.png" /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/sfdc_build/artifacts/Simulator/Applications/VFConnector.app
[exec]
[exec] CpResource VFConnector/readme.md sfdc_build/artifacts/Simulator/Applications/VFConnector.app/readme.md
[exec] cd /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector
[exec] setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
[exec] builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -strip-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/VFConnector/readme.md /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/sfdc_build/artifacts/Simulator/Applications/VFConnector.app
[exec]
[exec] CpResource VFConnector/Plugins/README sfdc_build/artifacts/Simulator/Applications/VFConnector.app/README
[exec] cd /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector
[exec] setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
[exec] builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -strip-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/VFConnector/Plugins/README /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/sfdc_build/artifacts/Simulator/Applications/VFConnector.app
[exec]
[exec] CopyPlistFile sfdc_build/artifacts/Simulator/Applications/VFConnector.app/PhoneGap.plist VFConnector/PhoneGap.plist
[exec] cd /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector
[exec] setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
[exec] builtin-copyPlist --convert binary1 --outdir /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/sfdc_build/artifacts/Simulator/Applications/VFConnector.app -- VFConnector/PhoneGap.plist
[exec]
[exec] CpResource VFConnector/Settings.bundle sfdc_build/artifacts/Simulator/Applications/VFConnector.app/Settings.bundle
[exec] cd /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector
[exec] setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
[exec] builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -strip-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/VFConnector/Settings.bundle /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/sfdc_build/artifacts/Simulator/Applications/VFConnector.app
[exec]
[exec] CpResource VFConnector/PhoneGapResources.bundle sfdc_build/artifacts/Simulator/Applications/VFConnector.app/PhoneGapResources.bundle
[exec] cd /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector
[exec] setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
[exec] builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -strip-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/VFConnector/PhoneGapResources.bundle /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/sfdc_build/artifacts/Simulator/Applications/VFConnector.app
[exec]
[exec] CpResource VFConnector/www sfdc_build/artifacts/Simulator/Applications/VFConnector.app/www
[exec] cd /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector
[exec] setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
[exec] builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -strip-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/VFConnector/www /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/sfdc_build/artifacts/Simulator/Applications/VFConnector.app
[exec]
[exec] GenerateDSYMFile build/Debug-iphonesimulator/VFConnector.app.dSYM sfdc_build/artifacts/Simulator/Applications/VFConnector.app/VFConnector
[exec] cd /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector
[exec] setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
[exec] /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/dsymutil /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/sfdc_build/artifacts/Simulator/Applications/VFConnector.app/VFConnector -o /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/build/Debug-iphonesimulator/VFConnector.app.dSYM
[exec]
[exec] PBXCp VFConnector/../../../../external/shared/../../hybrid/dependencies/PhoneGap.framework/www/phonegap-1.2.0.js sfdc_build/artifacts/Simulator/Applications/VFConnector.app/www/phonegap-1.2.0.js
[exec] cd /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector
[exec] setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
[exec] builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -strip-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/VFConnector/../../../../external/shared/../../hybrid/dependencies/PhoneGap.framework/www/phonegap-1.2.0.js /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/sfdc_build/artifacts/Simulator/Applications/VFConnector.app/www
[exec]
[exec] PBXCp VFConnector/../../../../external/shared/PhoneGap/SalesforceOAuthPlugin.js sfdc_build/artifacts/Simulator/Applications/VFConnector.app/www/SalesforceOAuthPlugin.js
[exec] cd /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector
[exec] setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
[exec] builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -strip-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/VFConnector/../../../../external/shared/PhoneGap/SalesforceOAuthPlugin.js /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/sfdc_build/artifacts/Simulator/Applications/VFConnector.app/www
[exec] error: /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/VFConnector/../../../../external/shared/PhoneGap/SalesforceOAuthPlugin.js: No such file or directory
[exec]
[exec] PBXCp VFConnector/../../../../external/shared/PhoneGap/SFHybridApp.css sfdc_build/artifacts/Simulator/Applications/VFConnector.app/www/SFHybridApp.css
[exec] cd /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector
[exec] setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
[exec] builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -strip-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/VFConnector/../../../../external/shared/PhoneGap/SFHybridApp.css /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/sfdc_build/artifacts/Simulator/Applications/VFConnector.app/www
[exec] error: /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/VFConnector/../../../../external/shared/PhoneGap/SFHybridApp.css: No such file or directory
[exec]
[exec] PBXCp VFConnector/../../../../external/shared/PhoneGap/bootstrap.html sfdc_build/artifacts/Simulator/Applications/VFConnector.app/www/bootstrap.html
[exec] cd /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector
[exec] setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
[exec] builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -strip-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/VFConnector/../../../../external/shared/PhoneGap/bootstrap.html /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/sfdc_build/artifacts/Simulator/Applications/VFConnector.app/www
[exec] error: /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/VFConnector/../../../../external/shared/PhoneGap/bootstrap.html: No such file or directory
[exec]
[exec] PBXCp VFConnector/../../../../external/shared/PhoneGap/SFHybridApp.js sfdc_build/artifacts/Simulator/Applications/VFConnector.app/www/SFHybridApp.js
[exec] cd /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector
[exec] setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
[exec] builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -strip-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/VFConnector/../../../../external/shared/PhoneGap/SFHybridApp.js /Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/sfdc_build/artifacts/Simulator/Applications/VFConnector.app/www
[exec]
[exec]
[exec] ** BUILD FAILED **
[exec]
[exec]
[exec] The following build commands failed:
[exec] PBXCp VFConnector/../../../../external/shared/PhoneGap/SalesforceOAuthPlugin.js sfdc_build/artifacts/Simulator/Applications/VFConnector.app/www/SalesforceOAuthPlugin.js
[exec] PBXCp VFConnector/../../../../external/shared/PhoneGap/SFHybridApp.css sfdc_build/artifacts/Simulator/Applications/VFConnector.app/www/SFHybridApp.css
[exec] PBXCp VFConnector/../../../../external/shared/PhoneGap/bootstrap.html sfdc_build/artifacts/Simulator/Applications/VFConnector.app/www/bootstrap.html
[exec] PBXCp VFConnector/../../../../external/shared/PhoneGap/SFHybridApp.js sfdc_build/artifacts/Simulator/Applications/VFConnector.app/www/SFHybridApp.js
[exec](4 failures)

BUILD FAILED
/Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/sfdc_build/build.xml:34: The following error occurred while executing this line:
/Users/fareed/Desktop/Iphone/forcedotcom/hybrid/SampleApps/VFConnector/sfdc_build/build.xml:41: The following error occurred while executing this line:
/Users/fareed/Desktop/Iphone/forcedotcom/shared/build.xml:117: exec returned: 65

potential crasher when SFOAuthCoordinator calls didFailLoadWithError

Submitted by an SDK user:

If there was an error, didFailLoadWithError in SFOAuthCoordinator.m calls the delegate didFailLoadWithError, which cleaned up the object making self invalid. As a quick fix I just made sure self wasn't referenced after the didFailWithError call:

file:SFOAuthCoordinator.m

  • (void)webView:(UIWebView *)webView didFailLoadWithError:(NSError *)error {
    .....
    } else {
    NSLog(@"SFOAuthCoordinator:didFailLoadWithError %@ on URL: %@", error, webView.request.URL);
    self.authenticating = NO; // moved the line to here
    [self.delegate oauthCoordinator:self didFailWithError:error];
    // !!used to crash here!! // self.authenticating = NO;
    }
    }

cancelling an SFRestRequest call

Is there any way how to cancel an SFRestRequest call?

Like for example I created a POST request via the [[SFRestAPI sharedInstance] send:Request delegate:self];

I need to cancel that request.

Error - 1804 : The requested scope is not allowed.

we have tried with scope as refresh_token and as full. we are facing the same issue. here the error message -

oauthCoordinator:didFailWithError: Error Domain=com.salesforce.OAuth.ErrorDomain Code=666 "com.salesforce.OAuth.ErrorDomain 1804 : the+requested+scope+is+not+allowed" UserInfo=0x982d170 {error_description=the+requested+scope+is+not+allowed, NSLocalizedDescription=com.salesforce.OAuth.ErrorDomain 1804 : the+requested+scope+is+not+allowed, error=1804}, authInfo: <SFOAuthInfo: 0x983a940, authType=SFOAuthTypeUserAgent>.

It is allowing us to connect to one SFDC app. if we recreate the same app it is not allowing to connect with same user name.

OAuthRedirectURI = https://test.salesforce.com/services/oauth2/success.

Distinguish between the SFRequests

I have sent 2 querys in the same viewController. So I will be getting to the "- (void)request:(SFRestRequest *)request didLoadResponse:(id)jsonResponse" twice. So how can I distinguish 2 requests ??

Adding Native SDK to existing app gives Assertion failure

I've just updated my app from v1.2 to v1.3. I'm adding the SDK to an existing project.

I' setup my credentials fine, but when I attempt to set the coordinator for the shared instance before authentication, I'm seeing the below error.

I'm guessing I haven't set something required in v1.3?


*** Assertion failure in +[SFAccountManager sharedInstance], /Users/khawkins/git/kh_ios_sdk/native/SalesforceSDK/SalesforceSDK/../../../shared/Classes/Security/SFAccountManager.m:127
2012-10-18 21:55:28.044 App[12617:c07] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Current account identifier has not been set for the app.'
*** First throw call stack:
(0x27a4012 0x2278e7e 0x27a3e78 0x1a02f35 0x326c76 0x30d123 0x30a08c 0x30a283 0x23fd014 0x23ef09f 0x23ef061 0x30a222 0x2da9 0xeb17b7 0xeb1da7 0xeb2fab 0xec4315 0xec524b 0xeb6cf8 0x2fe7df9 0x2fe7ad0 0x2719bf5 0x2719962 0x274abb6 0x2749f44 0x2749e1b 0xeb27da 0xeb465c 0x2b7d 0x2aa5)
libc++abi.dylib: terminate called throwing an exception

Enhancement Request - Block based interface in addition to SFRestAPIDelegate

Would be nice to have a block based interface similar to ASIHTTPRequest for asynchronous operations in addition to the SFRestAPIDelegate.

For example (pseudocode-ish)

SFRestRequest {

...

typedef void (^SFLoadResponseBlock)(id jsonResponse);

SFLoadResponseBlock loadResponseBlock;

- (void)setCompletionBlock:(SFLoadResponseBlock)aLoadResponseBlock {
    [loadResponseBlock release];
    loadResponseBlock = [aLoadResponseBlock copy];
}

...
}

// usage

SFRestRequest *request = [[SFRestAPI sharedInstance] request];

[request setLoadResponseBlock:^(id jsonResponse) {
    // do something with response   
    NSArray *records = [jsonResponse objectForKey:@"records"];
    NSLog(@"request:didLoadResponse: #records: %d", records.count);
    self.dataRows = records;
    [self.tableView reloadData];
}];

// kick off operation
[request query:@"SELECT Name FROM User LIMIT 10"];

Hybrid mobile apps didn't install.

I'm having the exact same issue listed here:

#130

when I run ./install.sh. I followed the instructions in the README referenced in the reply to that issue but still no luck. I was using Xcode 4.4.1 and got this error, then updated to Xcode 4.5 and still getting the same error. Native iOS app works fine, just not seeing the hybrid apps. Any ideas?

Error messages:

BUILD FAILED
/Users/shane/Developer/SalesforceMobileSDK-iOS/shared/build.xml:344: The following error occurred while executing this line:
/Users/shane/Developer/SalesforceMobileSDK-iOS/shared/build.xml:352: The following error occurred while executing this line:
/Users/shane/Developer/SalesforceMobileSDK-iOS/hybrid/SalesforceHybridSDK/sfdc_build/build.xml:40: The following error occurred while executing this line:
/Users/shane/Developer/SalesforceMobileSDK-iOS/hybrid/SalesforceHybridSDK/sfdc_build/build.xml:209: The following error occurred while executing this line:
/Users/shane/Developer/SalesforceMobileSDK-iOS/hybrid/SalesforceHybridSDK/sfdc_build/build.xml:153: The following error occurred while executing this line:
/Users/shane/Developer/SalesforceMobileSDK-iOS/shared/build.xml:132: exec returned: 65

FMDB dependency uses an old revision

Hi,

I can't tell what version of FMDB is bundled with the most recent version of the iOS SDK (I have tried looking), however, it does seem to be quite out of date in comparison to even the earliest revision at https://github.com/ccgus/fmdb.

My problem is that having to use FMDB bundled with the SF iOS SDK means I lose functionality that my app requires as it uses a more recent revision of FMDB.

Any chance you can revise this dependency and upgrade to a more useful and recent version of FMDB?

Thanks
Ray

Hybrid Mobile App Failed to Install

After following the directions in the mobile sdk install guide, I am unable to create a Hybrid App Project. While running xcode 4.5, I cloned the project from git and then run ./install.sh in the terminal. Once the install is complete I get the following error messages:

BUILD FAILED
/Users/david/Documents/Salesforce-iOS/SalesforceMobileSDK-iOS/shared/build.xml:344:
The following error occurred while executing this line:
/Users/david/Documents/Salesforce-iOS/SalesforceMobileSDK-iOS/shared/build.xml:352:
The following error occurred while executing this line:
/Users/david/Documents/Salesforce-iOS/SalesforceMobileSDK-iOS/hybrid/SalesforceHybridSDK/sfdc_build/build.xml:40:
The following error occurred while executing this line:
/Users/david/Documents/Salesforce-iOS/SalesforceMobileSDK-iOS/hybrid/SalesforceHybridSDK/sfdc_build/build.xml:209:
The following error occurred while executing this line:
/Users/david/Documents/Salesforce-iOS/SalesforceMobileSDK-iOS/hybrid/SalesforceHybridSDK/sfdc_build/build.xml:153:
The following error occurred while executing this line:
/Users/david/Documents/Salesforce-iOS/SalesforceMobileSDK-iOS/shared/build.xml:132:
exec returned: 65

After this, I am able to create a Native iOS project in Xcode just fine, but for some reason I can not see the hybrid applications at all. Does anyone have a way to resolve this?

Infinite loop on authorization failure

I get stuck an infinite loop when a user tries to access something they do not have rights to. I get the following AFTER a successful authentication:

oauthCoordinatorDidAuthenticate
replaying 1 requests
Got unauthorized response
Refreshing access token
SFOAuthCoordinator:authenticate: authenticating as with refresh token on ...
SFOAuthCredentials:revokeAccessToken: access token revoked

oauthCoordinatorDidAuthenticate
replaying 1 requests
Got unauthorized response
Refreshing access token
SFOAuthCoordinator:authenticate: authenticating as with refresh token on ...
SFOAuthCredentials:revokeAccessToken: access token revoked

...

My guess is that the session refresher treats all unauthorized responses as a signal to refresh the token and retries over and over again.

Any advice on how to work around this if this is the case?

Error Domain=NSURLErrorDomain Code=-1005 "The network connection was lost."

This is the log error I get:

2012-10-17 13:55:12.080 ACR[16762:15203] error: Error Domain=NSURLErrorDomain Code=-1005 "The network connection was lost." UserInfo=0x9492820 {NSErrorFailingURLStringKey=https://cs4.salesforce.com/services/data/v23.0/query?q=Select%20Cement__c%2CCob_webs__c%2CDebris_Litter__c%2CED_Entrance__c%2CFrames__c%2CGlass__c%2CItem_Text__c%2CLedges__c%2CMats__c%2CNewspaper_Stands__c%2CTracks__c%2CTrash_Cans__c%2CWalls__c%2CId%2CLastModifiedDate%20From%20ED_Entrance_Item__c%20WHERE%20%28Id%3D%27a2FP00000005P0EMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A51.000%2B0000%29OR%28Id%3D%27a2FP00000005P0bMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A05.000%2B0000%29OR%28Id%3D%27a2FP00000005P26MAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A10.000%2B0000%29OR%28Id%3D%27a2FP00000005P39MAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A12.000%2B0000%29OR%28Id%3D%27a2FP00000005P4GMAU%27%20AND%20LastModifiedDate%3C2012-10-16T19%3A38%3A13.000%2B0000%29OR%28Id%3D%27a2FP00000005P0UMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A54.000%2B0000%29OR%28Id%3D%27a2FP00000005P1HMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A55.000%2B0000%29OR%28Id%3D%27a2FP00000005P19MAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A04.000%2B0000%29OR%28Id%3D%27a2FP00000005P2GMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A07.000%2B0000%29OR%28Id%3D%27a2FP00000005P0yMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A54.000%2B0000%29OR%28Id%3D%27a2FP00000005OzyMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A58.000%2B0000%29OR%28Id%3D%27a2FP00000005P1NMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A09.000%2B0000%29OR%28Id%3D%27a2FP00000005P0cMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A06.000%2B0000%29OR%28Id%3D%27a2FP00000005P1UMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A10.000%2B0000%29OR%28Id%3D%27a2FP00000005P0MMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A02.000%2B0000%29OR%28Id%3D%27a2FP00000005P1nMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A03.000%2B0000%29OR%28Id%3D%27a2FP00000005OzLMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A48.000%2B0000%29OR%28Id%3D%27a2FP00000005P05MAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A51.000%2B0000%29OR%28Id%3D%27a2FP00000005P1dMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A11.000%2B0000%29OR%28Id%3D%27a2FP00000005P2oMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A09.000%2B0000%29OR%28Id%3D%27a2FP00000005P1xMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A06.000%2B0000%29OR%28Id%3D%27a2FP00000005P11MAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A09.000%2B0000%29OR%28Id%3D%27a2FP00000005P1CMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A55.000%2B0000%29OR%28Id%3D%27a2FP00000005OzgMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A51.000%2B0000%29OR%28Id%3D%27a2FP00000005OzvMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A53.000%2B0000%29OR%28Id%3D%27a2FP00000005P0XMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A01.000%2B0000%29OR%28Id%3D%27a2FP00000005OzbMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A58.000%2B0000%29OR%28Id%3D%27a2FP00000005P2fMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A13.000%2B0000%29OR%28Id%3D%27a2FP00000005P1cMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A10.000%2B0000%29OR%28Id%3D%27a2FP00000005P1SMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A02.000%2B0000%29OR%28Id%3D%27a2FP00000005P1RMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A59.000%2B0000%29OR%28Id%3D%27a2FP00000005P1PMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A12.000%2B0000%29OR%28Id%3D%27a2FP00000005OzXMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A59.000%2B0000%29OR%28Id%3D%27a2FP00000005P00MAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A51.000%2B0000%29OR%28Id%3D%27a2FP00000005OzrMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A52.000%2B0000%29OR%28Id%3D%27a2FP00000005P0nMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A53.000%2B0000%29OR%28Id%3D%27a2FP00000005P2LMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A09.000%2B0000%29OR%28Id%3D%27a2FP00000005P1oMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A04.000%2B0000%29OR%28Id%3D%27a2FP00000005P3jMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A16.000%2B0000%29OR%28Id%3D%27a2FP00000005P2eMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A07.000%2B0000%29OR%28Id%3D%27a2FP00000005P2DMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A11.000%2B0000%29OR%28Id%3D%27a2FP00000005P3NMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A13.000%2B0000%29OR%28Id%3D%27a2FP00000005P2jMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A09.000%2B0000%29OR%28Id%3D%27a2FP00000005P0oMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A58.000%2B0000%29OR%28Id%3D%27a2FP00000005P3YMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A15.000%2B0000%29OR%28Id%3D%27a2FP00000005P13MAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A17.000%2B0000%29OR%28Id%3D%27a2FP00000005P1bMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A00.000%2B0000%29OR%28Id%3D%27a2FP00000005P3rMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A16.000%2B0000%29OR%28Id%3D%27a2FP00000005P2CMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A10.000%2B0000%29OR%28Id%3D%27a2FP00000005P2IMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A10.000%2B0000%29OR%28Id%3D%27a2FP00000005P0rMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A05.000%2B0000%29OR%28Id%3D%27a2FP00000005P3XMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A14.000%2B0000%29OR%28Id%3D%27a2FP00000005P3DMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A12.000%2B0000%29OR%28Id%3D%27a2FP00000005OzEMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A51.000%2B0000%29OR%28Id%3D%27a2FP00000005OztMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A55.000%2B0000%29OR%28Id%3D%27a2FP00000005P2yMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A10.000%2B0000%29OR%28Id%3D%27a2FP00000005P2VMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A11.000%2B0000%29OR%28Id%3D%27a2FP00000005P33MAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A11.000%2B0000%29OR%28Id%3D%27a2FP00000005P0qMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A00.000%2B0000%29OR%28Id%3D%27a2FP00000005P0mMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A11.000%2B0000%29OR%28Id%3D%27a2FP00000005P0DMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A06.000%2B0000%29OR%28Id%3D%27a2FP00000005P0zMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A56.000%2B0000%29OR%28Id%3D%27a2FP00000005P1JMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A08.000%2B0000%29OR%28Id%3D%27a2FP00000005P3AMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A17.000%2B0000%29OR%28Id%3D%27a2FP00000005OzuMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A50.000%2B0000%29OR%28Id%3D%27a2FP00000005P3TMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A14.000%2B0000%29OR%28Id%3D%27a2FP00000005OzGMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A48.000%2B0000%29OR%28Id%3D%27a2FP00000005OzpMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A49.000%2B0000%29OR%28Id%3D%27a2FP00000005OzwMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A54.000%2B0000%29OR%28Id%3D%27a2FP00000005P2EMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A15.000%2B0000%29OR%28Id%3D%27a2FP00000005OzBMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A47.000%2B0000%29OR%28Id%3D%27a2FP00000005P0ZMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A58.000%2B0000%29OR%28Id%3D%27a2FP00000005P2QMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A07.000%2B0000%29OR%28Id%3D%27a2FP00000005P2PMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A04.000%2B0000%29OR%28Id%3D%27a2FP00000005P0FMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A51.000%2B0000%29OR%28Id%3D%27a2FP00000005P1EMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A59.000%2B0000%29OR%28Id%3D%27a2FP00000005P2RMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A08.000%2B0000%29OR%28Id%3D%27a2FP00000005P1iMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A08.000%2B0000%29OR%28Id%3D%27a2FP00000005P0lMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A05.000%2B0000%29OR%28Id%3D%27a2FP00000005P06MAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A04.000%2B0000%29OR%28Id%3D%27a2FP00000005P3iMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A15.000%2B0000%29OR%28Id%3D%27a2FP00000005OzYMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A16.000%2B0000%29OR%28Id%3D%27a2FP00000005P4BMAU%27%20AND%20LastModifiedDate%3C2012-10-16T19%3A38%3A12.000%2B0000%29OR%28Id%3D%27a2FP00000005P27MAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A11.000%2B0000%29OR%28Id%3D%27a2FP00000005P1MMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A58.000%2B0000%29OR%28Id%3D%27a2FP00000005OzQMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A48.000%2B0000%29OR%28Id%3D%27a2FP00000005P0eMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A12.000%2B0000%29OR%28Id%3D%27a2FP00000005P0VMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A55.000%2B0000%29OR%28Id%3D%27a2FP00000005P1gMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A00.000%2B0000%29OR%28Id%3D%27a2FP00000005P1lMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A01.000%2B0000%29OR%28Id%3D%27a2FP00000005P28MAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A14.000%2B0000%29OR%28Id%3D%27a2FP00000005P04MAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A50.000%2B0000%29OR%28Id%3D%27a2FP00000005P07MAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A09.000%2B0000%29OR%28Id%3D%27a2FP00000005P0tMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A05.000%2B0000%29OR%28Id%3D%27a2FP00000005OzFMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A59.000%2B0000%29OR%28Id%3D%27a2FP00000005P1mMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A02.000%2B0000%29OR%28Id%3D%27a2FP00000005P2tMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A09.000%2B0000%29OR%28Id%3D%27a2FP00000005P1GMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A03.000%2B0000%29OR%28Id%3D%27a2FP00000005P3cMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A15.000%2B0000%29OR%28Id%3D%27a2FP00000005P1TMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A02.000%2B0000%29OR%28Id%3D%27a2FP00000005OzcMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A59.000%2B0000%29OR%28Id%3D%27a2FP00000005OthMAE%27%20AND%20LastModifiedDate%3C2012-10-12T17%3A49%3A37.000%2B0000%29OR%28Id%3D%27a2FP00000005P3JMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A16.000%2B0000%29OR%28Id%3D%27a2FP00000005P1XMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A01.000%2B0000%29OR%28Id%3D%27a2FP00000005P0KMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A55.000%2B0000%29OR%28Id%3D%27a2FP00000005P1DMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A58.000%2B0000%29OR%28Id%3D%27a2FP00000005P09MAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A50.000%2B0000%29OR%28Id%3D%27a2FP00000005P20MAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A02.000%2B0000%29OR%28Id%3D%27a2FP00000005OzNMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A52.000%2B0000%29OR%28Id%3D%27a2FP00000005OzxMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A55.000%2B0000%29OR%28Id%3D%27a2FP00000005P1kMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A14.000%2B0000%29OR%28Id%3D%27a2FP00000005P21MAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A06.000%2B0000%29OR%28Id%3D%27a2FP00000005P1AMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A05.000%2B0000%29OR%28Id%3D%27a2FP00000005P1VMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A15.000%2B0000%29OR%28Id%3D%27a2FP00000005OzhMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A51.000%2B0000%29OR%28Id%3D%27a2FP00000005P0PMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A54.000%2B0000%29OR%28Id%3D%27a2FP00000005P0WMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A01.000%2B0000%29OR%28Id%3D%27a2FP00000005OYfMAM%27%20AND%20LastModifiedDate%3C2012-10-12T17%3A28%3A09.000%2B0000%29OR%28Id%3D%27a2FP00000005OzPMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A58.000%2B0000%29OR%28Id%3D%27a2FP00000005P2SMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A12.000%2B0000%29OR%28Id%3D%27a2FP00000005P0GMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A08.000%2B0000%29OR%28Id%3D%27a2FP00000005P2hMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A16.000%2B0000%29OR%28Id%3D%27a2FP00000005P3KMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A17.000%2B0000%29OR%28Id%3D%27a2FP00000005P1qMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A02.000%2B0000%29OR%28Id%3D%27a2FP00000005P0BMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A01.000%2B0000%29OR%28Id%3D%27a2FP00000005OzHMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A52.000%2B0000%29OR%28Id%3D%27a2FP00000005P0dMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A53.000%2B0000%29, NSErrorFailingURLKey=https://cs4.salesforce.com/services/data/v23.0/query?q=Select%20Cement__c%2CCob_webs__c%2CDebris_Litter__c%2CED_Entrance__c%2CFrames__c%2CGlass__c%2CItem_Text__c%2CLedges__c%2CMats__c%2CNewspaper_Stands__c%2CTracks__c%2CTrash_Cans__c%2CWalls__c%2CId%2CLastModifiedDate%20From%20ED_Entrance_Item__c%20WHERE%20%28Id%3D%27a2FP00000005P0EMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A51.000%2B0000%29OR%28Id%3D%27a2FP00000005P0bMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A05.000%2B0000%29OR%28Id%3D%27a2FP00000005P26MAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A10.000%2B0000%29OR%28Id%3D%27a2FP00000005P39MAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A12.000%2B0000%29OR%28Id%3D%27a2FP00000005P4GMAU%27%20AND%20LastModifiedDate%3C2012-10-16T19%3A38%3A13.000%2B0000%29OR%28Id%3D%27a2FP00000005P0UMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A54.000%2B0000%29OR%28Id%3D%27a2FP00000005P1HMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A55.000%2B0000%29OR%28Id%3D%27a2FP00000005P19MAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A04.000%2B0000%29OR%28Id%3D%27a2FP00000005P2GMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A07.000%2B0000%29OR%28Id%3D%27a2FP00000005P0yMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A54.000%2B0000%29OR%28Id%3D%27a2FP00000005OzyMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A58.000%2B0000%29OR%28Id%3D%27a2FP00000005P1NMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A09.000%2B0000%29OR%28Id%3D%27a2FP00000005P0cMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A06.000%2B0000%29OR%28Id%3D%27a2FP00000005P1UMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A10.000%2B0000%29OR%28Id%3D%27a2FP00000005P0MMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A02.000%2B0000%29OR%28Id%3D%27a2FP00000005P1nMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A03.000%2B0000%29OR%28Id%3D%27a2FP00000005OzLMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A48.000%2B0000%29OR%28Id%3D%27a2FP00000005P05MAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A51.000%2B0000%29OR%28Id%3D%27a2FP00000005P1dMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A11.000%2B0000%29OR%28Id%3D%27a2FP00000005P2oMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A09.000%2B0000%29OR%28Id%3D%27a2FP00000005P1xMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A06.000%2B0000%29OR%28Id%3D%27a2FP00000005P11MAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A09.000%2B0000%29OR%28Id%3D%27a2FP00000005P1CMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A55.000%2B0000%29OR%28Id%3D%27a2FP00000005OzgMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A51.000%2B0000%29OR%28Id%3D%27a2FP00000005OzvMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A53.000%2B0000%29OR%28Id%3D%27a2FP00000005P0XMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A01.000%2B0000%29OR%28Id%3D%27a2FP00000005OzbMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A58.000%2B0000%29OR%28Id%3D%27a2FP00000005P2fMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A13.000%2B0000%29OR%28Id%3D%27a2FP00000005P1cMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A10.000%2B0000%29OR%28Id%3D%27a2FP00000005P1SMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A02.000%2B0000%29OR%28Id%3D%27a2FP00000005P1RMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A59.000%2B0000%29OR%28Id%3D%27a2FP00000005P1PMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A12.000%2B0000%29OR%28Id%3D%27a2FP00000005OzXMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A59.000%2B0000%29OR%28Id%3D%27a2FP00000005P00MAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A51.000%2B0000%29OR%28Id%3D%27a2FP00000005OzrMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A52.000%2B0000%29OR%28Id%3D%27a2FP00000005P0nMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A53.000%2B0000%29OR%28Id%3D%27a2FP00000005P2LMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A09.000%2B0000%29OR%28Id%3D%27a2FP00000005P1oMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A04.000%2B0000%29OR%28Id%3D%27a2FP00000005P3jMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A16.000%2B0000%29OR%28Id%3D%27a2FP00000005P2eMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A07.000%2B0000%29OR%28Id%3D%27a2FP00000005P2DMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A11.000%2B0000%29OR%28Id%3D%27a2FP00000005P3NMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A13.000%2B0000%29OR%28Id%3D%27a2FP00000005P2jMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A09.000%2B0000%29OR%28Id%3D%27a2FP00000005P0oMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A58.000%2B0000%29OR%28Id%3D%27a2FP00000005P3YMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A15.000%2B0000%29OR%28Id%3D%27a2FP00000005P13MAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A17.000%2B0000%29OR%28Id%3D%27a2FP00000005P1bMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A00.000%2B0000%29OR%28Id%3D%27a2FP00000005P3rMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A16.000%2B0000%29OR%28Id%3D%27a2FP00000005P2CMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A10.000%2B0000%29OR%28Id%3D%27a2FP00000005P2IMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A10.000%2B0000%29OR%28Id%3D%27a2FP00000005P0rMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A05.000%2B0000%29OR%28Id%3D%27a2FP00000005P3XMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A14.000%2B0000%29OR%28Id%3D%27a2FP00000005P3DMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A12.000%2B0000%29OR%28Id%3D%27a2FP00000005OzEMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A51.000%2B0000%29OR%28Id%3D%27a2FP00000005OztMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A55.000%2B0000%29OR%28Id%3D%27a2FP00000005P2yMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A10.000%2B0000%29OR%28Id%3D%27a2FP00000005P2VMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A11.000%2B0000%29OR%28Id%3D%27a2FP00000005P33MAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A11.000%2B0000%29OR%28Id%3D%27a2FP00000005P0qMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A00.000%2B0000%29OR%28Id%3D%27a2FP00000005P0mMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A11.000%2B0000%29OR%28Id%3D%27a2FP00000005P0DMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A06.000%2B0000%29OR%28Id%3D%27a2FP00000005P0zMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A56.000%2B0000%29OR%28Id%3D%27a2FP00000005P1JMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A08.000%2B0000%29OR%28Id%3D%27a2FP00000005P3AMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A17.000%2B0000%29OR%28Id%3D%27a2FP00000005OzuMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A50.000%2B0000%29OR%28Id%3D%27a2FP00000005P3TMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A14.000%2B0000%29OR%28Id%3D%27a2FP00000005OzGMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A48.000%2B0000%29OR%28Id%3D%27a2FP00000005OzpMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A49.000%2B0000%29OR%28Id%3D%27a2FP00000005OzwMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A54.000%2B0000%29OR%28Id%3D%27a2FP00000005P2EMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A15.000%2B0000%29OR%28Id%3D%27a2FP00000005OzBMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A47.000%2B0000%29OR%28Id%3D%27a2FP00000005P0ZMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A58.000%2B0000%29OR%28Id%3D%27a2FP00000005P2QMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A07.000%2B0000%29OR%28Id%3D%27a2FP00000005P2PMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A04.000%2B0000%29OR%28Id%3D%27a2FP00000005P0FMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A51.000%2B0000%29OR%28Id%3D%27a2FP00000005P1EMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A59.000%2B0000%29OR%28Id%3D%27a2FP00000005P2RMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A08.000%2B0000%29OR%28Id%3D%27a2FP00000005P1iMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A08.000%2B0000%29OR%28Id%3D%27a2FP00000005P0lMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A05.000%2B0000%29OR%28Id%3D%27a2FP00000005P06MAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A04.000%2B0000%29OR%28Id%3D%27a2FP00000005P3iMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A15.000%2B0000%29OR%28Id%3D%27a2FP00000005OzYMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A16.000%2B0000%29OR%28Id%3D%27a2FP00000005P4BMAU%27%20AND%20LastModifiedDate%3C2012-10-16T19%3A38%3A12.000%2B0000%29OR%28Id%3D%27a2FP00000005P27MAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A11.000%2B0000%29OR%28Id%3D%27a2FP00000005P1MMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A58.000%2B0000%29OR%28Id%3D%27a2FP00000005OzQMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A48.000%2B0000%29OR%28Id%3D%27a2FP00000005P0eMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A12.000%2B0000%29OR%28Id%3D%27a2FP00000005P0VMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A55.000%2B0000%29OR%28Id%3D%27a2FP00000005P1gMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A00.000%2B0000%29OR%28Id%3D%27a2FP00000005P1lMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A01.000%2B0000%29OR%28Id%3D%27a2FP00000005P28MAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A14.000%2B0000%29OR%28Id%3D%27a2FP00000005P04MAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A50.000%2B0000%29OR%28Id%3D%27a2FP00000005P07MAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A09.000%2B0000%29OR%28Id%3D%27a2FP00000005P0tMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A05.000%2B0000%29OR%28Id%3D%27a2FP00000005OzFMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A59.000%2B0000%29OR%28Id%3D%27a2FP00000005P1mMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A02.000%2B0000%29OR%28Id%3D%27a2FP00000005P2tMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A09.000%2B0000%29OR%28Id%3D%27a2FP00000005P1GMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A03.000%2B0000%29OR%28Id%3D%27a2FP00000005P3cMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A15.000%2B0000%29OR%28Id%3D%27a2FP00000005P1TMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A02.000%2B0000%29OR%28Id%3D%27a2FP00000005OzcMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A59.000%2B0000%29OR%28Id%3D%27a2FP00000005OthMAE%27%20AND%20LastModifiedDate%3C2012-10-12T17%3A49%3A37.000%2B0000%29OR%28Id%3D%27a2FP00000005P3JMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A16.000%2B0000%29OR%28Id%3D%27a2FP00000005P1XMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A01.000%2B0000%29OR%28Id%3D%27a2FP00000005P0KMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A55.000%2B0000%29OR%28Id%3D%27a2FP00000005P1DMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A58.000%2B0000%29OR%28Id%3D%27a2FP00000005P09MAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A50.000%2B0000%29OR%28Id%3D%27a2FP00000005P20MAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A02.000%2B0000%29OR%28Id%3D%27a2FP00000005OzNMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A52.000%2B0000%29OR%28Id%3D%27a2FP00000005OzxMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A55.000%2B0000%29OR%28Id%3D%27a2FP00000005P1kMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A14.000%2B0000%29OR%28Id%3D%27a2FP00000005P21MAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A06.000%2B0000%29OR%28Id%3D%27a2FP00000005P1AMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A05.000%2B0000%29OR%28Id%3D%27a2FP00000005P1VMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A15.000%2B0000%29OR%28Id%3D%27a2FP00000005OzhMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A51.000%2B0000%29OR%28Id%3D%27a2FP00000005P0PMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A54.000%2B0000%29OR%28Id%3D%27a2FP00000005P0WMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A01.000%2B0000%29OR%28Id%3D%27a2FP00000005OYfMAM%27%20AND%20LastModifiedDate%3C2012-10-12T17%3A28%3A09.000%2B0000%29OR%28Id%3D%27a2FP00000005OzPMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A58.000%2B0000%29OR%28Id%3D%27a2FP00000005P2SMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A12.000%2B0000%29OR%28Id%3D%27a2FP00000005P0GMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A08.000%2B0000%29OR%28Id%3D%27a2FP00000005P2hMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A16.000%2B0000%29OR%28Id%3D%27a2FP00000005P3KMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A17.000%2B0000%29OR%28Id%3D%27a2FP00000005P1qMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A02.000%2B0000%29OR%28Id%3D%27a2FP00000005P0BMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A55%3A01.000%2B0000%29OR%28Id%3D%27a2FP00000005OzHMAU%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A52.000%2B0000%29OR%28Id%3D%27a2FP00000005P0dMAE%27%20AND%20LastModifiedDate%3C2012-10-16T16%3A54%3A53.000%2B0000%29, NSLocalizedDescription=The network connection was lost., NSUnderlyingError=0x9492850 "The network connection was lost."}

If you people need more data I can provide.
Thanks.

VF domain cookies not being reset on session refresh after foregrounding

Once, the app is brought back into foreground from background, the SDK initiates a session refresh but doesn't set the appropriate cookies on the webview for the VF domains. This causes the VF pages to fail while using Jquery mobile as salesforce returns a 302 response for requests for a new VF page from server. And Jquery mobile doesn't seem to handle a 302 response very well when using data-ajax=true.

Error 672

Hello,

I seem to have an issue when the refresh token has expired, such that the SalesforceOAuthPlugin does not present the salesforce login screen.

Essentially the plugin provides the following code snippet (full log below), where it logs out with error code 672 with the auth and refresh tokens revoked, but the user does not get redirected to the login screen again or I do not see an event/notification that the authentication process should be restarted.

2012-05-03 09:48:28.211 ADP SBS DM[16318:13403] oauthCoordinator:didFailWithError: Error Domain=com.salesforce.OAuth.ErrorDomain Code=672 "com.salesforce.OAuth.ErrorDomain invalid_grant : expired access/refresh token" UserInfo=0x9877ec0 {error_description=expired access/refresh token, NSLocalizedDescription=com.salesforce.OAuth.ErrorDomain invalid_grant : expired access/refresh token, error=invalid_grant}
2012-05-03 09:48:28.213 ADP SBS DM[16318:13403] Logging out because oauth failed with error code: 672
2012-05-03 09:48:28.214 ADP SBS DM[16318:13403] SFOAuthCredentials:revokeAccessToken: access token revoked
2012-05-03 09:48:28.215 ADP SBS DM[16318:13403] SFOAuthCredentials:revokeRefreshToken: refresh token revoked. Cleared identityUrl, instanceUrl, issuedAt fields

In addition to listening on the login failure callback handler, I'm also listening for the 'salesforceSessionRefresh' and 'salesforce_oauth_login' events to be dispatched on the document object, and those are not getting called either.

AFTER the access and refresh tokens are revoked however, the application loads up correctly (because we no longer satisfy the condition of the refresh token being expired)

Are there any thoughts?

full log
(note: I have a separate JSLOG plugin to capture console.log events not normally handled on devices. We are also using a sencha framework, but it has been confirmed not to be related)

2012-05-03 09:48:26.155 ADP SBS DM[16318:13403] reinitializePlugins
2012-05-03 09:48:26.157 ADP SBS DM[16318:13403] reinitializeWebView
2012-05-03 09:48:26.157 ADP SBS DM[16318:13403] supportedOrientations: (
4,
3
)
2012-05-03 09:48:26.158 ADP SBS DM[16318:13403] PhoneGapDelegate forcing status bar to: 4 from: 1
2012-05-03 09:48:26.170 ADP SBS DM[16318:13403] configureWebViewFromSettings
2012-05-03 09:48:26.223 ADP SBS DM[16318:13403] webview2: <UIWebView: 0x7b58a10; frame = (0 0; 748 1024); autoresize = W+H; layer = <CALayer: 0x7b4abd0>>
2012-05-03 09:48:26.227 ADP SBS DM[16318:13403] result:
2012-05-03 09:48:26.228 ADP SBS DM[16318:13403] loadStartPageIntoWebView
2012-05-03 09:48:26.229 ADP SBS DM[16318:13403] loading appURL: file://localhost/Users/proth/Library/Application%20Support/iPhone%20Simulator/5.1/Applications/98036EBC-8C26-41A2-AA43-26605D029126/ADP%20SBS%20DM.app/www/bootstrap.html
2012-05-03 09:48:26.241 ADP SBS DM[16318:13403] resetAppState
2012-05-03 09:48:26.242 ADP SBS DM[16318:13403] shouldLogout: 0
2012-05-03 09:48:26.243 ADP SBS DM[16318:13403] SFSmartStorePlugin initWithWebView
2012-05-03 09:48:26.244 ADP SBS DM[16318:13403] SFSmartStore initWithStoreName: defaultStore
2012-05-03 09:48:26.880 ADP SBS DM[16318:13403] webViewDidFinishLoad: Loaded file:///Users/proth/Library/Application%20Support/iPhone%20Simulator/5.1/Applications/98036EBC-8C26-41A2-AA43-26605D029126/ADP%20SBS%20DM.app/www/bootstrap.html
2012-05-03 09:48:26.881 ADP SBS DM[16318:13403] Device initialization: DeviceInfo = {"name":"iPad Simulator","uuid":"88F2D732-FB3E-5C0F-971A-F4808F8870F3","platform":"iPad Simulator","gap":"1.2.0","version":"5.1","connection":{"type":"wifi"}};
2012-05-03 09:48:26.892 ADP SBS DM[16318:13403] JSLOG: device is ready
2012-05-03 09:48:26.893 ADP SBS DM[16318:13403] [INFO] device is ready
2012-05-03 09:48:26.893 ADP SBS DM[16318:13403] JSLOG: deviceIsOnline connType: wifi
2012-05-03 09:48:26.894 ADP SBS DM[16318:13403] [INFO] deviceIsOnline connType: wifi
2012-05-03 09:48:26.894 ADP SBS DM[16318:13403] JSLOG: SalesforceOAuthPlugin.authenticate
2012-05-03 09:48:26.895 ADP SBS DM[16318:13403] authenticate:withDict:
2012-05-03 09:48:26.896 ADP SBS DM[16318:13403] Available connection: 'wifi'
2012-05-03 09:48:26.904 ADP SBS DM[16318:13403] SFOAuthCoordinator:authenticate: authenticating as 3MVG9rFJvQRVOvk6xVeIssueG.QUK3Aqybg0Z47ZXazCVeVjmpodyzVCUN14QG9fd3r_mUVfbFjowJMlkMJKV with refresh token on 'https://test.salesforce.com' ...
2012-05-03 09:48:26.906 ADP SBS DM[16318:13403] SFOAuthCredentials:revokeAccessToken: access token revoked
2012-05-03 09:48:27.187 ADP SBS DM[16318:13403] [WARN] [DEPRECATE][Anonymous] listeners is deprecated as a property directly on the Component. Please put it inside the config object, and retrieve it using "this.config.listeners"
2012-05-03 09:48:27.188 ADP SBS DM[16318:13403] [WARN] [DEPRECATE][Anonymous] storeId is deprecated as a property directly on the Ext.data.Store prototype. Please put it inside the config object.
2012-05-03 09:48:27.188 ADP SBS DM[16318:13403] [WARN] [DEPRECATE][Anonymous] storeId is deprecated as a property directly on the Ext.data.Store prototype. Please put it inside the config object.
2012-05-03 09:48:27.189 ADP SBS DM[16318:13403] [WARN] [DEPRECATE][Anonymous] storeId is deprecated as a property directly on the Ext.data.Store prototype. Please put it inside the config object.
2012-05-03 09:48:27.189 ADP SBS DM[16318:13403] [WARN] [DEPRECATE][Anonymous] storeId is deprecated as a property directly on the Ext.data.Store prototype. Please put it inside the config object.
2012-05-03 09:48:27.239 ADP SBS DM[16318:13403] [INFO] initialized adpSBSG.controller.AccountDetailCtrl controller
2012-05-03 09:48:27.240 ADP SBS DM[16318:13403] [INFO] initialized adpSBSG.controller.AccountListCtrl controller
2012-05-03 09:48:27.240 ADP SBS DM[16318:13403] [INFO] initialized adpSBSG.controller.MapCtrl controller
2012-05-03 09:48:27.241 ADP SBS DM[16318:13403] [INFO] initialized adpSBSG.controller.EventDetailCtrl controller
2012-05-03 09:48:27.241 ADP SBS DM[16318:13403] [INFO] initialized adpSBSG.controller.ProfileCtrl controller
2012-05-03 09:48:27.242 ADP SBS DM[16318:13403] JSLOG: adpSBSG.launch - launch completed
2012-05-03 09:48:27.242 ADP SBS DM[16318:13403] [INFO] adpSBSG.launch - launch completed
2012-05-03 09:48:27.243 ADP SBS DM[16318:13403] [INFO] Object:
app = [object Object]
model = [object Object]
store = [object Object]
view = [object Object]
geo = [object Object]
controller = [object Object]
scheduler = [object Object]
field = [object Object]
2012-05-03 09:48:27.243 ADP SBS DM[16318:13403] JSLOG: setupLatch from within app:2
2012-05-03 09:48:27.244 ADP SBS DM[16318:13403] [INFO] setupLatch from within app:2
2012-05-03 09:48:27.247 ADP SBS DM[16318:13403] [INFO] release[1]
2012-05-03 09:48:28.211 ADP SBS DM[16318:13403] oauthCoordinator:didFailWithError: Error Domain=com.salesforce.OAuth.ErrorDomain Code=672 "com.salesforce.OAuth.ErrorDomain invalid_grant : expired access/refresh token" UserInfo=0x9877ec0 {error_description=expired access/refresh token, NSLocalizedDescription=com.salesforce.OAuth.ErrorDomain invalid_grant : expired access/refresh token, error=invalid_grant}
2012-05-03 09:48:28.213 ADP SBS DM[16318:13403] Logging out because oauth failed with error code: 672
2012-05-03 09:48:28.214 ADP SBS DM[16318:13403] SFOAuthCredentials:revokeAccessToken: access token revoked
2012-05-03 09:48:28.215 ADP SBS DM[16318:13403] SFOAuthCredentials:revokeRefreshToken: refresh token revoked. Cleared identityUrl, instanceUrl, issuedAt fields

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.