I'm trying to submit an iOS app to AppStore and I'm having the following error:

ERROR ITMS-9000: "Missing or invalid signature. The bundle 'com.google.GPPSignIn3PResources' at bundle path 'Payload/My_app_name.app/GooglePlus.bundle' is not signed using an Apple submission certificate."

I've submitted this app before I've never had this problem. Does anybody know if there is any recent change?

I am absolutely baffled as to why setting the lens position in iOS8 only works indoors. I've been testing an application for a while and have had no problems changing the lens position. Today I went outside to do some test shots and low and behold my completion handler is never being called. I can replicate this indoors by pointing the camera directly at a bright light source. Even when I am setting manual exposure and manual white balance this still happens.

Here is the relevant code for changing the lens position on the camera:

- (void) changeLensPosition : (float) lensValue
{
    void (^focusBlock)(CMTime syncTime) = ^void (CMTime syncTime) 
    {
        printf("Finished focusing lens position is %f\n", _device.lensPosition);
    };

    NSError *error = nil;
    if ([_device lockForConfiguration:&error])
    {
        printf("Attempting to change lens position to %f\n", lensValue);
        @try
        {
            [_device setFocusModeLockedWithLensPosition:lensValue completionHandler: focusBlock];
        }
        @catch (NSException *exception)
        { 
            NSLog(@"%@",[NSThread callStackSymbols]);
        }
        @finally
        {

        }
    }
    else
    {
        NSLog(@"%@", [error localizedDescription]);
    }
}

No exception is thrown and no error occurs, the application prints "Attempting to change lens position..." but never prints "Finished focusing..."

Just to recap, the application successfully changes focus indoors 100% of the time, but outdoors it succeeds 0% of the time. I can even start changing the lens position indoors and walk outside where it will immediately stop.

Just hours ago I updated xCode, iOS 8, and Yosemite to the newest versions in hopes that this is something bugged in the API. No success there.

Does anyone know a solution to this problem?

I downloaded XCode 6 GM and submitted two Swift apps to the app store today. Both passed all pre-upload verification and all the other stuff they had to pass and were successfully submitted. But then I got two emails from Apple... one for each program and they both said this:

"Dear developer,

We have discovered one or more issues with your recent delivery for "xxxxxxxx" (my app name removed). Your delivery was successful, but you may wish to correct the following issues in your next delivery:

Too many symbol files - These symbols have no corresponding slice in any binary [1431D977-72BC-308F-AB71-71529F25400B.symbols, 158C72A7-98AC-3F07-B2BE-88427591B413.symbols, 44973EAC-563E-340C-B549-55A5014A68BA.symbols, 678BF06F-0C3D-3A09-BFBF-699C7079FECD.symbols, 90907DDB-0400-38ED-BB5F-0C12333C0624.symbols, 93B79949-5757-374A-97B9-825AE1A61B7D.symbols, ABA05220-4FB0-397F-AFBB-08774A82F4CA.symbols, AD70F02A-4422-32B8-8C40-CF9B45A2CCC6.symbols, B0CC9F7D-C542-3E18-A518-B28B7ECABE80.symbols, BF6A4C3B-6FA5-3C51-8404-19C2F132458D.symbols, C9D6E078-8E2A-39D9-8DEE-476916A69CEE.symbols, CF5320DF-AB31-3845-BAD5-F6E51045D396.symbols, D4967AA3-8FB0-3712-B0DE-7F4144AF8F4B.symbols, D813B314-AD37-31D4-B675-442052994495.symbols, DF42A13F-08D8-3E71-B221-FC357E0B60F5.symbols, F5F636C2-F0E0-3CA7-8F7D-C49A36CD5C65.symbols]

After you’ve corrected the issues, you can use Xcode or Application Loader to upload a new binary to iTunes Connect.

Regards,

The App Store team"

I'm going to guess that really has nothing to do with me or my apps... and it is just a quirk of day one Swift app submissions? Both apps are still sitting in "Waiting for approval" mode. I certainly can't think of anything I could change to make what they said go away! Anyone else submit a Swift app yet and get that response? Think I should just ignore it and wait to see what happens?

Thanks for any insight!

Jim

I built a keyboard for ios 8 using one xib file and multiple subviews. However this keyboard only works in portrait mode and when the device rotates, the keyboard doesn't change its size or length. I figured I need to create another xib file with subviews for landscape and when the device rotates have the xib files switch. My question is how would I go about accomplishing this? How would I make it so that the program knows when to switch xib files. I was thinking I should use something like what is proposed in here: http://stackoverflow.com/a/25222353/2057171 but I do know know how I would implement it. Any help is appreciated.

Apple has just announced Apple Watch and said that SDK for Apple Watch is available for developers. But I don't see it on xCode 6 Golden Master. Where can I find Apple Watch SDK?

The client I am building for needs a feature that requires me wrap a scroll view around a lot of content, including the 'news' section. Because of this, I can't use a ListView. I am attempting to manually inflate all of the ListItem views into a vertical LinearLayout. I realize I'll lose of the sweet optimizations of ListView, but it's what the client wants so I have to oblige. I feel like my solution should be working, but no views are being drawn to the screen. Inside of my ScrollView is a LinearLayout, and inside of it is this second LinearLayout:

<!-- News Fragment -->
        <LinearLayout
            android:id="@+id/news_frag"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="vertical"
            android:background="@color/test_yellow"/>

Here is the layout file for NewsListItem:

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="5dp"
android:paddingBottom="5dp"
android:orientation="horizontal"
android:onClick="newsListItemClick"
android:background="@color/test_green">

<com.android.volley.toolbox.NetworkImageView
    style="@style/thumbnail_image"
    android:id="@+id/news_list_item_image"
    android:layout_width="@dimen/thumbnail_width"
    android:layout_height="@dimen/thumbnail_height" />

<LinearLayout
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="vertical" >

    <TextView 
        style="@style/headline_text"
        android:id="@+id/news_list_item_headline"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content" />

    <TextView 
        style="@style/promo_text"
        android:id="@+id/news_list_item_promo_brief"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content" />

</LinearLayout>

And finally, the code I'm using programmatically. newsRequest() is the last call I make in onCreateView:

private void newsRequest() {
    Log.d("snw", "newsRequest()");
    JsonArrayRequest jsonRequest = new JsonArrayRequest(NEWS_FEED_URL, 
            new Response.Listener<JSONArray>() {

        @Override
        public void onResponse(JSONArray response) {
            for (int i = 0; i < response.length(); i++) {
                try {
                    NewsListItem item = new NewsListItem((JSONObject) response.get(i));
                    View view = addNewsToView(item);
                    containerView.addView(view);
                    containerView.invalidate();
                } catch (JSONException e) {
                    e.printStackTrace();
                }
            }
            containerView.bringToFront(); //something I tried, didn't help
            containerView.postInvalidate(); //Same as above
        }

    }, new Response.ErrorListener() {

        @Override
        public void onErrorResponse(VolleyError error) {
            error.printStackTrace();
        }

    });

    volleyQueue.add(jsonRequest);
}

private View addNewsToView(NewsListItem item) {
    Log.d("snw", "addNewsToView()");
    ViewHolder holder;
    View view = new View(getActivity());

    if (view.getTag() == null) {
        Log.d("snw", "Holder was null, inflating view");
        LayoutInflater inflater = (LayoutInflater) getActivity().getSystemService(Context.LAYOUT_INFLATER_SERVICE);
        view = inflater.inflate(R.layout.news_list_item, null);

        // set up ViewHolder
        holder = new ViewHolder();
        holder.thumbnail = (NetworkImageView) view.findViewById(R.id.news_list_item_image);
        holder.headline = (TextView) view.findViewById(R.id.news_list_item_headline);
        holder.promoBrief = (TextView) view.findViewById(R.id.news_list_item_promo_brief);

        //set custom fonts
        Typeface futuraBold =
                Typeface.createFromAsset(view.getContext().getAssets(), "fonts/futura_today_bold.ttf");
        Typeface futuraLight =
                Typeface.createFromAsset(view.getContext().getAssets(), "fonts/futura_today_light.ttf");

        holder.headline.setTypeface(futuraBold);
        holder.promoBrief.setTypeface(futuraLight);

        // store holder with the view
        view.setTag(holder);
    }
    else {
        holder = (ViewHolder) view.getTag();
    }
    holder.headline.setText(item.getHeadline());
    holder.promoBrief.setText(item.getPromoBrief());
    holder.thumbnail.setImageUrl(UrlBuilder.buildUrl(item.getImgUrl()),
            VolleySingleton.getInstance(getActivity()).getImageLoader());


    return view;
}

private class ViewHolder {
    NetworkImageView thumbnail;
    TextView headline;
    TextView promoBrief;
}

Everything I've read suggests this should be working fine, it's just as easy as calling addView and attaching my inflated view to the ViewGroup container, a LinearLayout. A few things I've read suggesting manually setting the LayoutParameters on the view before attaching it, but this had no effect as far as I can tell. Any insight?

I'm writing an app that would make a calendar event and then, when this event comes, it would open and send notification to user. First part I've already done. But with the second I have some problems.

So my question: "Is it possible to open app when the calendar event comes? And if yes, how can i do it?"

I am having following exception, I can't understand the reason for this. I tried googling, but failed to find a proper solution. Can someone please let me know what is causing this exception.

java.lang.IllegalStateException: The specified message queue synchronization  barrier token has not been posted or has already been removed.
09-09 15:28:53.967: W/System.err(20676):    at android.os.MessageQueue.removeSyncBarrier(MessageQueue.java:266)
09-09 15:28:53.967: W/System.err(20676):    at android.os.Looper.removeSyncBarrier(Looper.java:242)
09-09 15:28:53.967: W/System.err(20676):    at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1222)
09-09 15:28:53.967: W/System.err(20676):    at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5089)
09-09 15:28:53.967: W/System.err(20676):    at android.view.Choreographer$CallbackRecord.run(Choreographer.java:791)
09-09 15:28:53.967: W/System.err(20676):    at android.view.Choreographer.doCallbacks(Choreographer.java:591)
09-09 15:28:53.967: W/System.err(20676):    at android.view.Choreographer.doFrame(Choreographer.java:561)
09-09 15:28:53.967: W/System.err(20676):    at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:777)
09-09 15:28:53.967: W/System.err(20676):    at android.os.Handler.handleCallback(Handler.java:725)
09-09 15:28:53.967: W/System.err(20676):    at android.os.Handler.dispatchMessage(Handler.java:92)
09-09 15:28:53.967: W/System.err(20676):    at android.os.Looper.loop(Looper.java:137)
09-09 15:28:53.967: W/System.err(20676):    at android.app.ActivityThread.main(ActivityThread.java:5283)
09-09 15:28:53.967: W/System.err(20676):    at java.lang.reflect.Method.invokeNative(Native Method)
09-09 15:28:53.967: W/System.err(20676):    at java.lang.reflect.Method.invoke(Method.java:511)
09-09 15:28:53.967: W/System.err(20676):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1102)
09-09 15:28:53.967: W/System.err(20676):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:869)
09-09 15:28:53.967: W/System.err(20676):    at dalvik.system.NativeStart.main(Native Method)

I have tried a lot for finding a package which includes such a class which can extract text from image for android adt,but unfortunately I could not find any . Is there anyone who can help me in this.

I'm a noob in xcode and objective-c, I've never programmed before. I need xcode to develop inhouse easy apps for my students. Could somebody explain in plain English how to make a basic step in xcode: I position a UIViewcontroller in Main.Storyboard, then position in the ViewController the Textfield and I need to make so that the user would type in the text in the Textfield and if it's exactly as it's preset then the button "right" would show up and if it's wrong, the button wrong would show up. Please, I would appreciate very much any help.

I am trying to create a universal app. The app is in portrait mode only for both iPhone and iPad. I recetly added the iAd. When I test in the simulator, the followings are observed.

(When the ad is clicked, I do pause the game)

  1. iPhone: The ad covers the full screen. I see both portrait and landscape ads. When the ad is cancelled, I get the original screen back in portrait mode absolutely fine.
  2. iPad: I only see landscape ads. The moment i click on the ad, for a split second I see that my original sceen turns to landscape. Then of course the ad (which is always a landscape ad) covers the entire screen immediately. When I cancel the ad, I do get back my original screen in potrait mode. Howeve, all the pictures in the screen are in different places than they were just before the ad was clicked. In fact, most of the pictures are in place where they were put in the storyboard.

I am quite novice as far as coding is concerned. It would be highly appreciated if anyone can very clearly indicate the steps I need to take. Do let me know if I need to provide further info.

There are couple of related discussions I could see, but none I could understand clearly.

I just ran into an issue that I thought I'd share. In my iOS calendar usage, I'm making use of applicationDidBecomeActive in the app delegate to check if the users calendar settings have changed. Specifically, after getting the applicationDidBecomeActive callback, I do the following:

// self.eventStore is of type EKEventStore *
EKCalendar *cal = [self.eventStore calendarWithIdentifier: calendarIdentifier];
if (!cal) {
    // Assume we no longer have access to the users calendar; e.g., they have change their privacy settings.
}

However, I ran into an issue. (How surprising! :)). I found that applicationDidBecomeActive is also called when we do initially do requestAccessToEntityType. That is, after Apple displays their "Alert" to the user to ask if the user wants our app to have access to their calendar, our app gets a applicationDidBecomeActive callback. My only remaining question with this, now that I've figured that out is:

When requestAccessToEntityType is called, do we always get the applicationDidBecomeActive before the completion handler of requestAccessToEntityType is called?

I'm assuming this is true. It would seem very unusual to me if one my methods was called (outside of the app delegate) before the app delegate applicationDidBecomeActive method was called.

My app is crashing as soon as i launch it. Don't know what the problem is. It was working fine before. All of sudden it stopped working. Can someone please help to fix the crash issue. here is the Log:

0   CoreFoundation                      0x01d8a1e4 __exceptionPreprocess + 180    
1   libobjc.A.dylib                     0x018558e5 objc_exception_throw + 44    
2   UIKit                               0x00a79400 -[UIStoryboard name] + 0      
3   UIKit                               0x00515692 -[UIApplication _loadMainStoryboardFileNamed:bundle:] + 53       
4   UIKit                               0x00515949 -[UIApplication         _loadMainInterfaceFile] + 245
5   UIKit                               0x0051454e -[UIApplication           _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 543        
6   UIKit                               0x00528f92 -[UIApplication handleEvent:withNewEvent:] + 3517           
7   UIKit                               0x00529555 -[UIApplication sendEvent:] + 85         
8   UIKit                               0x00516250 _UIApplicationHandleEvent + 683           
9   GraphicsServices                    0x040d1f02 _PurpleEventCallback + 776                      
10  GraphicsServices                    0x040d1a0d PurpleEventCallback + 46        
11  CoreFoundation                      0x01d05ca5      __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 53           
12  CoreFoundation                      0x01d059db __CFRunLoopDoSource1 + 523            
13  CoreFoundation                      0x01d3068c __CFRunLoopRun + 2156            
14  CoreFoundation                      0x01d2f9d3 CFRunLoopRunSpecific + 467         
15  CoreFoundation                      0x01d2f7eb CFRunLoopRunInMode + 123          
16  UIKit                               0x00513d9c -[UIApplication _run] + 840          
17  UIKit                               0x00515f9b UIApplicationMain + 1225              
18  ePractice                           0x00176b94 main + 164              
19  libdyld.dylib                       0x0263970d start + 1               
20  ???                                 0x00000001 0x0 + 1         

I want to enumerate all the nodes in my scene. Not just the ones that are a child of the scene itself, but also the children of those, and the children of those etc... So I want to be able to go through the whole node hierarchy.

Is there a method to do that without knowing how deep the node tree goes?

I am getting a strange exception as can be seen below;

enter image description here

I think this might be because I am navigating to a different page, and then by the time the user has selected the alert view message box button the page has changed and maybe the alert view pointer has gone or something? Please can someone confirm this might be the case? I am changing page in the first of the if else statements using the following line

[self.navigationController popViewControllerAnimated:YES];

The rest of the code can be seen below;

- (void) registerAck: (NSNotification *) notification{
    NSLog(@"Detected callback for register");
    NSString *status = [[notification userInfo] valueForKey:@"result"];
    if([status rangeOfString:@"Successful"].location != NSNotFound){
        //succesfully registered

        UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Welcome"
                                                        message:@"Thank you for registering. Please login using the created details"
                                                       delegate:self
                                              cancelButtonTitle:@"OK"
                                              otherButtonTitles:nil];

        [alert show];
        [[NSNotificationCenter defaultCenter] removeObserver:self];
        [self.navigationController popViewControllerAnimated:YES];


        NSLog(@"%@", status);
    } else if([status rangeOfString:@"User Already"].location != NSNotFound){
        //already registered
        [[NSNotificationCenter defaultCenter] removeObserver:self];

        UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"User Already Registered"
                                                        message:@"Please choose a different username"
                                                       delegate:nil
                                              cancelButtonTitle:@"OK"
                                              otherButtonTitles:nil];
        [alert show];
        NSLog(@"%@", status);
    } else if([status rangeOfString:@"Email Already"].location != NSNotFound){
        //already registered
        [[NSNotificationCenter defaultCenter] removeObserver:self];

        UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Email Already Registered"
                                                        message:@"Please choose a different email address or use the forgotten password link"
                                                       delegate:nil
                                              cancelButtonTitle:@"OK"
                                              otherButtonTitles:nil];
        [alert show];
        NSLog(@"%@", status);
    } else{
        //failed
        [[NSNotificationCenter defaultCenter] removeObserver:self];
        UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"We are sorry"
                                                        message:@"Registration Failed"
                                                       delegate:nil
                                              cancelButtonTitle:@"OK"
                                              otherButtonTitles:nil];
        [alert show];
        NSLog(@"%@", status);
    }
}

-(void) alert:(UIAlertView *) alert didDismissWithButtonIndex: (NSInteger) buttonIndex{
    [self.navigationController popToRootViewControllerAnimated:TRUE];
}

If this is the case then - what would a potential fix be, I mean, for one instance I want to navigate the user back a page but for other use cases in the if else i want the user to remain on the current page so its not as if i can modify the didDismissWithButtonIndex method to change page in there? Thanks

I want to apply a transform to UIView to make it look like curve or arc from a rect (like it is). Here are 2 images before and after.

http://i.stack.imgur.com/QNWxv.jpg

http://i.stack.imgur.com/xA7Sd.jpg

How can I make it? Thanks in advance.

When answering a question on Stack Overflow, the library appeared to have a weird way to specify configuration, through an Action passed to the constructor:

public Parser(Action<ParserSettings> configuration)
{
    if (configuration == null) throw new ArgumentNullException("configuration");
    this.settings = new ParserSettings();
    configuration(this.settings);
    this.settings.Consumed = true;
}

internal Parser(ParserSettings settings)
{
    this.settings = settings;
    this.settings.Consumed = true;
}

So to specify the settings you provide a Action<ParserSettings> that modifies the settings:

var parser = new Parser( s => { s.CaseSensitive = false; } );

I don't understand what this pattern accomplishes. What is the benefit of passing a delegate to the constructor instead of just having the client code create and pass the ParserSettings to the constructor?

I am not able to see the name of the mp3 files recieved via Whatsapp in my Nokia Lumia 1520. Due to this, I am unable to track down my mp3 in Music hub. Please help.

I have a scenario wherein I need to refer to the oracle db backup files (.bkp/.dmp). I cannot touch Oracle db due to the constraints posed by the live running application . I do not know much about the nature of these backup files hence asking this question. Are these files encrypted or zipped? Are they segregated tablespace wise? I know for sure that the ones available to me are not flat files.

Is there any oracle option or utility --or-- a unix command/utility by which I can convert the oracle db backup file to a flat file? I am planning to import the backup files from oracle server to my drive.

Also is there any ETL tool like Informatica which can do the job?

Problem is: I cannot see the content of a CrossWalk WebView using Chromes DevTools (chrome://inspect/#devices). Neither local websites (like image below) , nor external like google.com. But it is working for the standalone chrome.apk.

http://imgur.com/e7pBif3

Configuration: Chrome for Linux v. 37.0.2062.94

Crosswalk prebuild: crosswalk-webview-9.38.199.0-arm

Android 4.4.2/4.0.3

ADB Debugging working fine. Javascript console logs are working. I can see the page on my phone.

Creating the webview

public class CrosswalkActivity extends Activity {

    private final String TAG = "CrosswalkActivity";
    private XWalkView xWalkView;
    public static Context context;

      @Override
      protected void onCreate(Bundle savedInstanceState) {
          context = getApplicationContext();

        super.onCreate(savedInstanceState);
        setContentView(R.layout.xwalkview);
        xWalkView = (XWalkView) findViewById(R.id.xWalkView);
        String index = FileManager.getAssetPath(context, "index.html");
        Log.i(TAG, "Loading: " + index);

        this.configureWebView();

        xWalkView.load("file://" + index, null);
      }

    private Boolean configureWebView() {
        try{
            xWalkView.addJavascriptInterface(new Device(CrosswalkActivity.context),"Device");
            xWalkView.addJavascriptInterface(new Media(CrosswalkActivity.context),"Media");
            xWalkView.addJavascriptInterface(new Request(CrosswalkActivity.context), "Request");
            xWalkView.addJavascriptInterface(new WebRTC(CrosswalkActivity.context),"WebRTC");

            xWalkView.setKeepScreenOn(true);
            XWalkPreferences.setValue(XWalkPreferences.REMOTE_DEBUGGING, true);
            return true;
        }
        catch(Exception e){
            Log.e(TAG, e.getMessage());
            return false;
        }
    }
}

Hi guys I have integrated admob interstitial in my app but however only the banner add shows for some reason even if I click around the app. Is there a way to make my interestial show immediately at app launch.

    // Create the interstitial.
        interstitial = new InterstitialAd(this);
        interstitial.setAdUnitId("ca-app-pub-5285676668858972/4687823448");

        // Create ad request.
        AdRequest adRequest1 = new AdRequest.Builder().build();

        // Begin loading your interstitial.
        interstitial.loadAd(adRequest);

      }

      // Invoke displayInterstitial() when you are ready to display an interstitial.
      public void onAdLoaded() {

        if (interstitial.isLoaded()) {
            interstitial.show();
        }
      }
public void onAdOpened(){

}

public void onAdFailedToLoad(int errorCode){

}

Just testing it now its not showing up... at all