Skip to content

Instantly share code, notes, and snippets.

@wuaschtikus
wuaschtikus / App-Store-Connect-API-Python.md
Created December 29, 2021 18:26 — forked from corrieriluca/App-Store-Connect-API-Python.md
Connection to the App Store Connect API using Python3
alias gcmld='git checkout master && git pull && comm -12 <(git branch | sed "s/ *//g") <(git remote prune origin --dry-run | sed "s/^.*origin\///g") | xargs -I{} git branch -D {}'
import UIKit
import AVFoundation
class Camera: NSObject {
var captureSession: AVCaptureSession?
var currentCameraPosition: CameraPosition?
var frontCamera: AVCaptureDevice?
var frontCameraInput: AVCaptureDeviceInput?
var photoOutput: AVCapturePhotoOutput?
var rearCamera: AVCaptureDevice?
import Foundation
import AVFoundation
public class QRCodeScanner: NSObject, AVCaptureMetadataOutputObjectsDelegate {
public var callback: ((_ qrCode: String, _ corners: [CGPoint]) -> Void)?
public var captureSession: AVCaptureSession!
public var previewLayer: AVCaptureVideoPreviewLayer!
XCS_BOT_NAME=MIA-CLI
XCS=1
XCS_WARNING_CHANGE=0
XCS_SOURCE_DIR=/Users/jenkins/Library/Caches/XCSBuilder/Bots/25c9a5fca1b6c9334dcf25ee5f0957c9/Source
SHELL=/bin/bash
XCS_INTEGRATION_RESULT=trigger-error
TMPDIR=/var/folders/bm/px3yfhdn0hb8bzpwt9nb2ddc0000gq/T/
Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.7ZumgVHQze/Render
XCS_TEST_FAILURE_COUNT=0
XCS_INTEGRATION_ID=25c9a5fca1b6c9334dcf25ee5f65dd80
@wuaschtikus
wuaschtikus / re-sign-ios-app.md
Created June 6, 2018 05:41 — forked from chaitanyagupta/re-sign-ios-app.md
How to re-sign an iOS app with another developer account

WARNING These steps are probably out dated and will not work.

To re-sign an iOS app with another developer account, ensure that the following are in place first.

  1. Distribution certificate of the other developer account
  2. A provisioning profile from the other developer account

Note that the Apple requires bundle IDs to be globally unique, even across accounts. So a bundle ID i.e. CFBundleIdentifier from one account can't be used in a different account, even though the team id/prefix would be different.

Ensure that the new distribution certificate is in your keychain and the new provisioning profile on your disk.

codesign -d --entitlements :- "Payload/YourApp.app"
security cms -D -i "Payload/YourApp.app/embedded.mobileprovision"
codesign -dv --verbose=4 /Applications/Utilities/Terminal.app
//
// Country.swift
// Mia
//
// Created by Grüner Martin on 07/07/16.
// Copyright © 2016 Grüner Martin. All rights reserved.
//
import Foundation