Skip to content

Commit 5cfe861

Browse files
Merge branch 'master' into develop
2 parents 296541a + 629c8c4 commit 5cfe861

916 files changed

Lines changed: 74213 additions & 38343 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/FUNDING.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ community_bridge: # Replace with a single Community Bridge project-name e.g., cl
99
liberapay: # Replace with a single Liberapay username
1010
issuehunt: # Replace with a single IssueHunt username
1111
otechie: # Replace with a single Otechie username
12-
custom: ['getappbox.com/support/','paypal.me/vineetchoudhary']
12+
custom: ['paypal.me/vineetchoudhary']

.github/download.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
## Downloads / Version
2+
3+
![](https://img.shields.io/github/downloads/vineetchoudhary/AppBox-iOSAppsWirelessInstallation/3.0.0/total.svg?style=flat-square)
4+
5+
![](https://img.shields.io/github/downloads/vineetchoudhary/AppBox-iOSAppsWirelessInstallation/2.9.6/total.svg?style=flat-square)
6+
7+
![](https://img.shields.io/github/downloads/vineetchoudhary/AppBox-iOSAppsWirelessInstallation/2.9.5/total.svg?style=flat-square)
8+
29
![](https://img.shields.io/github/downloads/vineetchoudhary/AppBox-iOSAppsWirelessInstallation/2.9.1/total.svg?style=flat-square)
310

411
![](https://img.shields.io/github/downloads/vineetchoudhary/AppBox-iOSAppsWirelessInstallation/2.9.0/total.svg?style=flat-square)

AppBox.xcodeproj/project.pbxproj

Lines changed: 50 additions & 490 deletions
Large diffs are not rendered by default.

AppBox.xcodeproj/xcshareddata/xcschemes/AppBox.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1200"
3+
LastUpgradeVersion = "1330"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

AppBox/AppBox.entitlements

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33
<plist version="1.0">
4-
<dict/>
4+
<dict>
5+
<key>com.apple.security.app-sandbox</key>
6+
<true/>
7+
<key>com.apple.security.files.user-selected.read-write</key>
8+
<true/>
9+
<key>com.apple.security.network.client</key>
10+
<true/>
11+
</dict>
512
</plist>

AppBox/AppBox.xcdatamodeld/.xccurrentversion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
<plist version="1.0">
44
<dict>
55
<key>_XCCurrentVersionName</key>
6-
<string>AppBox3.xcdatamodel</string>
6+
<string>AppBox4.xcdatamodel</string>
77
</dict>
88
</plist>
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2+
<model type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="18154" systemVersion="20G95" minimumToolsVersion="Xcode 7.3" sourceLanguage="Objective-C" userDefinedModelVersionIdentifier="">
3+
<entity name="AppBoxService" representedClassName="AppBoxService" syncable="YES">
4+
<attribute name="accountAccessKey" optional="YES" attributeType="String" syncable="YES"/>
5+
<attribute name="accountEmail" optional="YES" attributeType="String" syncable="YES"/>
6+
<attribute name="accountId" optional="YES" attributeType="String" syncable="YES"/>
7+
<attribute name="accountSecretKey" optional="YES" attributeType="String" syncable="YES"/>
8+
<attribute name="baseURL" optional="YES" attributeType="String" syncable="YES"/>
9+
<attribute name="name" optional="YES" attributeType="String" syncable="YES"/>
10+
<relationship name="uploadRecords" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="UploadRecord" inverseName="service" inverseEntity="UploadRecord" syncable="YES"/>
11+
</entity>
12+
<entity name="Project" representedClassName="Project" syncable="YES">
13+
<attribute name="bundleIdentifier" optional="YES" attributeType="String" syncable="YES"/>
14+
<attribute name="name" optional="YES" attributeType="String" syncable="YES"/>
15+
<relationship name="uploadRecords" optional="YES" toMany="YES" deletionRule="Cascade" ordered="YES" destinationEntity="UploadRecord" inverseName="project" inverseEntity="UploadRecord" syncable="YES"/>
16+
</entity>
17+
<entity name="ProvisionedDevice" representedClassName="ProvisionedDevice" syncable="YES">
18+
<attribute name="deviceId" optional="YES" attributeType="String" syncable="YES"/>
19+
</entity>
20+
<entity name="ProvisioningProfile" representedClassName="ProvisioningProfile" syncable="YES">
21+
<attribute name="buildType" optional="YES" attributeType="String" syncable="YES"/>
22+
<attribute name="createDate" optional="YES" attributeType="Date" usesScalarValueType="NO" syncable="YES"/>
23+
<attribute name="expirationDate" optional="YES" attributeType="Date" usesScalarValueType="NO" syncable="YES"/>
24+
<attribute name="teamId" optional="YES" attributeType="String" syncable="YES"/>
25+
<attribute name="teamName" optional="YES" attributeType="String" syncable="YES"/>
26+
<attribute name="uuid" optional="YES" attributeType="String" syncable="YES"/>
27+
<relationship name="provisionedDevices" optional="YES" toMany="YES" deletionRule="Nullify" ordered="YES" destinationEntity="ProvisionedDevice" syncable="YES"/>
28+
<relationship name="uploadRecord" optional="YES" toMany="YES" deletionRule="Nullify" ordered="YES" destinationEntity="UploadRecord" inverseName="provisioningProfile" inverseEntity="UploadRecord" syncable="YES"/>
29+
</entity>
30+
<entity name="UploadRecord" representedClassName="UploadRecord" syncable="YES">
31+
<attribute name="build" optional="YES" attributeType="String" syncable="YES"/>
32+
<attribute name="buildType" optional="YES" attributeType="String" syncable="YES"/>
33+
<attribute name="datetime" optional="YES" attributeType="Date" usesScalarValueType="NO" syncable="YES"/>
34+
<attribute name="dbAppInfoFullPath" optional="YES" attributeType="String" syncable="YES"/>
35+
<attribute name="dbDirectroy" optional="YES" attributeType="String" syncable="YES"/>
36+
<attribute name="dbFolderName" optional="YES" attributeType="String" syncable="YES"/>
37+
<attribute name="dbIPAFullPath" optional="YES" attributeType="String" syncable="YES"/>
38+
<attribute name="dbManifestFullPath" optional="YES" attributeType="String" syncable="YES"/>
39+
<attribute name="dbSharedAppInfoURL" optional="YES" attributeType="String" syncable="YES"/>
40+
<attribute name="dbSharedIPAURL" optional="YES" attributeType="String" syncable="YES"/>
41+
<attribute name="dbSharedManifestURL" optional="YES" attributeType="String" syncable="YES"/>
42+
<attribute name="keepSameLink" optional="YES" attributeType="Boolean" usesScalarValueType="NO" syncable="YES"/>
43+
<attribute name="localBuildPath" optional="YES" attributeType="String" syncable="YES"/>
44+
<attribute name="mailURL" optional="YES" attributeType="String" syncable="YES"/>
45+
<attribute name="projectPath" optional="YES" attributeType="String" syncable="YES"/>
46+
<attribute name="shortURL" optional="YES" attributeType="String" syncable="YES"/>
47+
<attribute name="teamId" optional="YES" attributeType="String" syncable="YES"/>
48+
<attribute name="version" optional="YES" attributeType="String" syncable="YES"/>
49+
<relationship name="project" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Project" inverseName="uploadRecords" inverseEntity="Project" syncable="YES"/>
50+
<relationship name="provisioningProfile" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="ProvisioningProfile" inverseName="uploadRecord" inverseEntity="ProvisioningProfile" syncable="YES"/>
51+
<relationship name="service" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="AppBoxService" inverseName="uploadRecords" inverseEntity="AppBoxService" syncable="YES"/>
52+
</entity>
53+
<elements>
54+
<element name="Project" positionX="-11914.72265625" positionY="-2547.59375" width="128" height="88"/>
55+
<element name="ProvisionedDevice" positionX="-12258" positionY="-2493" width="128" height="58"/>
56+
<element name="ProvisioningProfile" positionX="-12260" positionY="-2736" width="128" height="163"/>
57+
<element name="UploadRecord" positionX="-12081.50537109375" positionY="-2809.529998779297" width="128" height="358"/>
58+
<element name="AppBoxService" positionX="-12078.29156494141" positionY="-3003.159118652344" width="128" height="148"/>
59+
</elements>
60+
</model>

AppBox/AppBoxPrefixHeader.pch

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
#import <AppCenterAnalytics/AppCenterAnalytics.h>
1717
#import <SAMKeychain/SAMKeychain.h>
1818
#import <AFNetworking/AFNetworking.h>
19-
#import <STPrivilegedTask/STPrivilegedTask.h>
2019
#import <ObjectiveDropboxOfficial/ObjectiveDropboxOfficial.h>
2120
#import <ABPrivate/ABPrivate.h>
2221

@@ -31,32 +30,26 @@
3130
#import "OtherServicesKeys.h"
3231

3332
#import "Common.h"
34-
#import "XCHandler.h"
3533
#import "UploadManager.h"
36-
#import "MacHandler.h"
3734
#import "MailHandler.h"
3835
#import "SlackClient.h"
3936
#import "HangoutClient.h"
4037
#import "MSTeamsClient.h"
41-
#import "TaskHandler.h"
4238
#import "EventTracker.h"
4339
#import "UpdateHandler.h"
4440
#import "DBErrorHandler.h"
4541
#import "NetworkHandler.h"
4642
#import "KeychainHandler.h"
4743
#import "CIProjectBuilder.h"
48-
#import "KeychainHandler+Helper.h"
4944
#import "NSApplication+MenuHandler.h"
5045

5146
#import "NSURL+URL.h"
5247
#import "NSDate+Date.h"
5348
#import "NSString+String.h"
5449

55-
#import "Teams+CoreDataProperties.h"
5650
#import "Project+CoreDataProperties.h"
57-
#import "CISetting+CoreDataProperties.h"
5851
#import "UploadRecord+CoreDataProperties.h"
52+
#import "AppBoxService+CoreDataProperties.h"
5953
#import "ProvisionedDevice+CoreDataProperties.h"
6054
#import "ProvisioningProfile+CoreDataProperties.h"
61-
6255
#endif /* AppBoxPrefixHeader_pch */

AppBox/AppDelegate.m

Lines changed: 1 addition & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -45,18 +45,7 @@ - (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
4545
NSArray *arguments = [[NSProcessInfo processInfo] arguments];
4646
[ABLog log:@"All Command Line Arguments = %@",arguments];
4747
for (NSString *argument in arguments) {
48-
if ([argument containsString:abArgsWorkspace]) {
49-
NSArray *components = [argument componentsSeparatedByString:abArgsWorkspace];
50-
[ABLog log:@"Workspace Components = %@",components];
51-
if (components.count == 2) {
52-
[self handleProjectAtPath:[components lastObject]];
53-
} else {
54-
[self addSessionLog:[NSString stringWithFormat:@"Invalid Workspace Argument %@",arguments]];
55-
exit(abExitCodeForInvalidCommand);
56-
}
57-
break;
58-
}
59-
else if ([argument containsString:abArgsIPA]) {
48+
if ([argument containsString:abArgsIPA]) {
6049
NSArray *components = [argument componentsSeparatedByString:abArgsIPA];
6150
[ABLog log:@"IPA Components = %@",components];
6251
if (components.count == 2) {
@@ -152,34 +141,6 @@ -(void)handleGetURLWithEvent:(NSAppleEventDescriptor *)event andReply:(NSAppleEv
152141
}];
153142
}
154143

155-
-(void)handleProjectAtPath:(NSString *)projectPath {
156-
//get certificate
157-
NSString *certInfoPath = [CIProjectBuilder isValidRepoForCertificateFileAtPath:projectPath];
158-
[CIProjectBuilder installCertificateWithDetailsInFile:certInfoPath andRepoPath:projectPath];
159-
160-
//create project
161-
NSString *settingPath = [CIProjectBuilder isValidRepoForSettingFileAtPath:projectPath Index:@0];
162-
XCProject *project = [CIProjectBuilder xcProjectWithRepoPath:projectPath andSettingFilePath:settingPath];
163-
164-
//check project
165-
if (project == nil) {
166-
[self addSessionLog:@"AppBox can't able to create project model of this repo."];
167-
exit(abExitCodeForInvalidAppBoxSettingFile);
168-
return;
169-
}
170-
171-
//check if appbox is read to build
172-
if (self.isReadyToBuild) {
173-
[self addSessionLog:@"AppBox is ready to build."];
174-
[[NSNotificationCenter defaultCenter] postNotificationName:abBuildRepoNotification object:project];
175-
} else {
176-
[[NSNotificationCenter defaultCenter] addObserverForName:abAppBoxReadyToUseNotification object:nil queue:[NSOperationQueue mainQueue] usingBlock:^(NSNotification * _Nonnull note) {
177-
[self addSessionLog:@"AppBox is ready to build. [Block]"];
178-
[[NSNotificationCenter defaultCenter] postNotificationName:abBuildRepoNotification object:project];
179-
}];
180-
}
181-
}
182-
183144
-(void)handleIPAAtPath:(NSString *)ipaPath {
184145
XCProject *project = [CIProjectBuilder xcProjectWithIPAPath:ipaPath];
185146
if (self.isReadyToBuild) {
26.9 KB
Loading

0 commit comments

Comments
 (0)