This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
exec > /tmp/${PROJECT_NAME}_archive.log 2>&1 | |
UNIVERSAL_OUTPUTFOLDER=${BUILD_DIR}/${CONFIGURATION}-universal | |
if [ "true" == ${ALREADYINVOKED:-false} ] | |
then | |
echo "RECURSION: Detected, stopping" | |
else | |
export ALREADYINVOKED="true" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
exec > /tmp/${PROJECT_NAME}_archive.log 2>&1 | |
UNIVERSAL_OUTPUTFOLDER=${BUILD_DIR}/${CONFIGURATION}-universal | |
if [ "true" == ${ALREADYINVOKED:-false} ] | |
then | |
echo "RECURSION: Detected, stopping" | |
else | |
export ALREADYINVOKED="true" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-(NSNumber*)numberOfPairs:(NSArray*) a joinArg2:(NSNumber*) k { | |
//No of Pairs | |
int nop=0; | |
int sumNumber =[k intValue]; | |
//Checking to see if the sum can be perfectly halved so as to avoid an issues with removing duplicates | |
if ((sumNumber % 2) == 0){ | |
//No of occurence of half of sum number to be tested | |
int noSameDivNo=0; | |
NSMutableArray *testArrayModified=[[NSMutableArray alloc] init]; | |
NSMutableArray *testArray=[[NSMutableArray alloc] initWithArray:a]; |