Skip to content

Commit

Permalink
[NEW] Use relative positioning in the Podfile for pods not available …
Browse files Browse the repository at this point in the history
…in Cocoapods closes #622
  • Loading branch information
ckrey committed Feb 29, 2020
1 parent 42f1f72 commit e55a1ec
Show file tree
Hide file tree
Showing 8 changed files with 349 additions and 320 deletions.
19 changes: 1 addition & 18 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2013-2018 Christoph Krey
Copyright (c) 2013-2020 Christoph Krey

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


--------------------
SocketRocket is licensed as

Copyright 2012 Square Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

---------------------
libsodium is licensed as

/*
Expand Down
7 changes: 2 additions & 5 deletions OwnTracks/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,8 @@ platform :ios, '13.1'
use_frameworks!

pod 'CocoaLumberjack'
#pod 'SocketRocket', :path => '~/SocketRocket'
#pod 'ABStaticTableViewController'
pod 'ABStaticTableViewController', :path => '~/ABStaticTableViewController'
pod 'mqttc/MinL', :path => '~/mqttc'
#pod 'mqttc/WebsocketL', :path => '~/mqttc'
pod 'ABStaticTableViewController', :path => '../../ABStaticTableViewController'
pod 'mqttc/MinL', :path => '../../mqttc'
pod 'libsodium', '~> 1.0'

target 'OwnTracks' do
Expand Down
10 changes: 5 additions & 5 deletions OwnTracks/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ PODS:
- CocoaLumberjack

DEPENDENCIES:
- ABStaticTableViewController (from `~/ABStaticTableViewController`)
- ABStaticTableViewController (from `../../ABStaticTableViewController`)
- CocoaLumberjack
- libsodium (~> 1.0)
- mqttc/MinL (from `~/mqttc`)
- mqttc/MinL (from `../../mqttc`)

SPEC REPOS:
https://github.com/CocoaPods/Specs.git:
Expand All @@ -20,16 +20,16 @@ SPEC REPOS:

EXTERNAL SOURCES:
ABStaticTableViewController:
:path: "~/ABStaticTableViewController"
:path: "../../ABStaticTableViewController"
mqttc:
:path: "~/mqttc"
:path: "../../mqttc"

SPEC CHECKSUMS:
ABStaticTableViewController: d8cfbdd596fbf58b515b13e49cc8ca8ca86c6e12
CocoaLumberjack: b17ae15142558d08bbacf69775fa10c4abbebcc9
libsodium: 9a8faa5ef2fa0d2d57bd7f7d79bf8fb7c1a9f0ea
mqttc: b72b7f97136460f5432f454d2d70e2e48687e810

PODFILE CHECKSUM: c70ca71f6a2ac29295d0c9fc316de0534472000e
PODFILE CHECKSUM: 4ffa15f4e64e064c6a2969287ec0285e33f0a7e6

COCOAPODS: 1.8.4
10 changes: 5 additions & 5 deletions OwnTracks/Pods/Manifest.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

569 changes: 284 additions & 285 deletions OwnTracks/Pods/Pods.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion OwnTracks/Pods/Target Support Files/mqttc/mqttc.xcconfig

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

50 changes: 50 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,53 @@ ios


OwnTracks was __MQTTitude__. Find the history here on github: https://github.com/binarybucks/mqttitude

# Prepare to Compile and Run
## CocoaPods
There are two Pods used not available via [COCOAPODS](https://cocoapods.org).
Clone these two repositories into your home directory:
[ABStaticTableViewController](https://github.com/k06a/ABStaticTableViewController.git), and
[mqttc/MinL](https://github.com/ckrey/mqttc.git).

Then re-run `pod`:

% cd OwnTracks
% pod install

## Xcode
Staying in the `OwnTracks/` directory,
launch `xcode`:

% open OwnTracks.xcworkspace

Next, click on the `OwnTacks` project and you will see two targets, `OwnTracks` and `OwnTracksToday`.
For each project, go to the `General` tab.

For the `OwnTracks` target, set the Bundle Identifier accordingly:

com.example.OwnTracks

For the `OwnTracksToday` target, set the Bundle Identifier accordingly:

com.example.OwnTracks.OwnTracksToday

For the `OwnTracks` project, go to the `Signing and Capabilities` tab and set the appropriate team.
Then scroll down to `App Groups`,
uncheck `group.org.owntracks.OwnTracks`,
and then click on the `+` to create your own group, e.g.,

group.com.example.OwnTracks

Finally, for the `OwnTracksToday` project, go to the `Signing and Capabilities` tab,
set the appropriate team.
Then scroll down to `App Groups`,
uncheck `group.org.owntracks.OwnTracks`,
and check the group you create for the `OwnTracks` project.

**Note** that most these changes will result in `Xcode` creating provision profiles, repairing things, etc.
Please take your time and be patient!

With these steps complete,
you should be able to compile and run the project.


0 comments on commit e55a1ec

Please sign in to comment.