Skip to content

Commit e55a1ec

Browse files
committed
[NEW] Use relative positioning in the Podfile for pods not available in Cocoapods closes #622
1 parent 42f1f72 commit e55a1ec

File tree

8 files changed

+349
-320
lines changed

8 files changed

+349
-320
lines changed

LICENSE

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2013-2018 Christoph Krey
3+
Copyright (c) 2013-2020 Christoph Krey
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal
@@ -22,23 +22,6 @@ SOFTWARE.
2222

2323

2424
--------------------
25-
SocketRocket is licensed as
26-
27-
Copyright 2012 Square Inc.
28-
29-
Licensed under the Apache License, Version 2.0 (the "License");
30-
you may not use this file except in compliance with the License.
31-
You may obtain a copy of the License at
32-
33-
http://www.apache.org/licenses/LICENSE-2.0
34-
35-
Unless required by applicable law or agreed to in writing, software
36-
distributed under the License is distributed on an "AS IS" BASIS,
37-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
38-
See the License for the specific language governing permissions and
39-
limitations under the License.
40-
41-
---------------------
4225
libsodium is licensed as
4326

4427
/*

OwnTracks/Podfile

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,8 @@ platform :ios, '13.1'
33
use_frameworks!
44

55
pod 'CocoaLumberjack'
6-
#pod 'SocketRocket', :path => '~/SocketRocket'
7-
#pod 'ABStaticTableViewController'
8-
pod 'ABStaticTableViewController', :path => '~/ABStaticTableViewController'
9-
pod 'mqttc/MinL', :path => '~/mqttc'
10-
#pod 'mqttc/WebsocketL', :path => '~/mqttc'
6+
pod 'ABStaticTableViewController', :path => '../../ABStaticTableViewController'
7+
pod 'mqttc/MinL', :path => '../../mqttc'
118
pod 'libsodium', '~> 1.0'
129

1310
target 'OwnTracks' do

OwnTracks/Podfile.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ PODS:
88
- CocoaLumberjack
99

1010
DEPENDENCIES:
11-
- ABStaticTableViewController (from `~/ABStaticTableViewController`)
11+
- ABStaticTableViewController (from `../../ABStaticTableViewController`)
1212
- CocoaLumberjack
1313
- libsodium (~> 1.0)
14-
- mqttc/MinL (from `~/mqttc`)
14+
- mqttc/MinL (from `../../mqttc`)
1515

1616
SPEC REPOS:
1717
https://github.com/CocoaPods/Specs.git:
@@ -20,16 +20,16 @@ SPEC REPOS:
2020

2121
EXTERNAL SOURCES:
2222
ABStaticTableViewController:
23-
:path: "~/ABStaticTableViewController"
23+
:path: "../../ABStaticTableViewController"
2424
mqttc:
25-
:path: "~/mqttc"
25+
:path: "../../mqttc"
2626

2727
SPEC CHECKSUMS:
2828
ABStaticTableViewController: d8cfbdd596fbf58b515b13e49cc8ca8ca86c6e12
2929
CocoaLumberjack: b17ae15142558d08bbacf69775fa10c4abbebcc9
3030
libsodium: 9a8faa5ef2fa0d2d57bd7f7d79bf8fb7c1a9f0ea
3131
mqttc: b72b7f97136460f5432f454d2d70e2e48687e810
3232

33-
PODFILE CHECKSUM: c70ca71f6a2ac29295d0c9fc316de0534472000e
33+
PODFILE CHECKSUM: 4ffa15f4e64e064c6a2969287ec0285e33f0a7e6
3434

3535
COCOAPODS: 1.8.4

OwnTracks/Pods/Manifest.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

OwnTracks/Pods/Pods.xcodeproj/project.pbxproj

Lines changed: 284 additions & 285 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

OwnTracks/Pods/Target Support Files/ABStaticTableViewController/ABStaticTableViewController.xcconfig

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

OwnTracks/Pods/Target Support Files/mqttc/mqttc.xcconfig

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,53 @@ ios
55

66

77
OwnTracks was __MQTTitude__. Find the history here on github: https://github.com/binarybucks/mqttitude
8+
9+
# Prepare to Compile and Run
10+
## CocoaPods
11+
There are two Pods used not available via [COCOAPODS](https://cocoapods.org).
12+
Clone these two repositories into your home directory:
13+
[ABStaticTableViewController](https://github.com/k06a/ABStaticTableViewController.git), and
14+
[mqttc/MinL](https://github.com/ckrey/mqttc.git).
15+
16+
Then re-run `pod`:
17+
18+
% cd OwnTracks
19+
% pod install
20+
21+
## Xcode
22+
Staying in the `OwnTracks/` directory,
23+
launch `xcode`:
24+
25+
% open OwnTracks.xcworkspace
26+
27+
Next, click on the `OwnTacks` project and you will see two targets, `OwnTracks` and `OwnTracksToday`.
28+
For each project, go to the `General` tab.
29+
30+
For the `OwnTracks` target, set the Bundle Identifier accordingly:
31+
32+
com.example.OwnTracks
33+
34+
For the `OwnTracksToday` target, set the Bundle Identifier accordingly:
35+
36+
com.example.OwnTracks.OwnTracksToday
37+
38+
For the `OwnTracks` project, go to the `Signing and Capabilities` tab and set the appropriate team.
39+
Then scroll down to `App Groups`,
40+
uncheck `group.org.owntracks.OwnTracks`,
41+
and then click on the `+` to create your own group, e.g.,
42+
43+
group.com.example.OwnTracks
44+
45+
Finally, for the `OwnTracksToday` project, go to the `Signing and Capabilities` tab,
46+
set the appropriate team.
47+
Then scroll down to `App Groups`,
48+
uncheck `group.org.owntracks.OwnTracks`,
49+
and check the group you create for the `OwnTracks` project.
50+
51+
**Note** that most these changes will result in `Xcode` creating provision profiles, repairing things, etc.
52+
Please take your time and be patient!
53+
54+
With these steps complete,
55+
you should be able to compile and run the project.
56+
57+

0 commit comments

Comments
 (0)